Files
YunTongJackYunTask/Reportapi/MyCode.Project.Repositories/ZHMD/WMStoJackyunInventoryMovementView1Repository.cs
liqionghai f4c865ab2c 1
2025-07-16 14:41:39 +08:00

38 lines
1.1 KiB
C#

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;
using MyCode.Project.Domain.Model;
namespace MyCode.Project.Repositories.ZHMD
{
public class WMStoJackyunInventoryMovementView2Repository: WMSRepository,IWMStoJackyunInventoryMovementView2Repository
{
public WMStoJackyunInventoryMovementView2Repository(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;
}
}
}