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

38 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;
2025-07-16 14:41:39 +08:00
using MyCode.Project.Domain.Model;
2025-07-12 16:58:00 +08:00
namespace MyCode.Project.Repositories.ZHMD
{
2025-07-16 14:41:39 +08:00
public class WMStoJackyunInventoryMovementView2Repository: WMSRepository,IWMStoJackyunInventoryMovementView2Repository
2025-07-12 16:58:00 +08:00
{
2025-07-16 14:41:39 +08:00
public WMStoJackyunInventoryMovementView2Repository(WMSSqlSugarClient context) : base(context)
{
}
2025-07-12 16:58:00 +08:00
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;
}
}
}