Files
YunTongJackYunTask/Reportapi/MyCode.Project.Repositories/ZHMD/WMStoJackyunInventoryMovementView1Repository.cs

36 lines
1.1 KiB
C#
Raw Normal View History

2025-07-12 16:58:00 +08:00
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;
}
}
}