12
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using MyCode.Project.Repositories.Common;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MyCode.Project.Domain.Message;
|
||||
using MyCode.Project.Domain.ZHMDModel;
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using MyCode.Project.Infrastructure.Search;
|
||||
using MyCode.Project.Domain.Repositories.ZHMDRepositories;
|
||||
|
||||
namespace MyCode.Project.Repositories.ZHMD
|
||||
{
|
||||
public class WMStoJackyunInventoryMovementView1Repository: WMSRepository,IWMStoJackyunInventoryMovementView1Repository
|
||||
{
|
||||
public WMStoJackyunInventoryMovementView1Repository(WMSSqlSugarClient context) : base(context)
|
||||
{ }
|
||||
|
||||
|
||||
|
||||
|
||||
public List<WMStoJackyunInventoryMovementView1> GetList(DateTime now)
|
||||
{
|
||||
now = now.Date;
|
||||
string sql = $@"select TOP 100 * from [WMStoJackyun_InventoryMovement_View]
|
||||
where [过账日期]>='{now}'
|
||||
ORDER BY [单据号],[单据行号]";
|
||||
var list = this.SelectList<WMStoJackyunInventoryMovementView1>(sql);
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user