This commit is contained in:
liqionghai
2025-07-16 17:26:20 +08:00
parent 341163411d
commit 11a0720133
10 changed files with 301 additions and 20 deletions

View File

@@ -18,6 +18,10 @@ namespace MyCode.Project.Repositories
public WMStoJackyunInventoryMovementView1Repository(MyCodeSqlSugarClient context) : base(context)
{ }
/// <summary>
/// 查询可执行申请入库/出库数据
/// </summary>
/// <returns></returns>
public List<CreateAndStockinResp> GetInventoryMovement()
{
string sql = $@"
@@ -32,7 +36,7 @@ namespace MyCode.Project.Repositories
,[过账日期] AS [applyDate]
,[备注] AS [rowRemark]
,[status] AS [status]
FROM [YunTong].[dbo].[WMStoJackyun_InventoryMovement_View1]
FROM [dbo].[WMStoJackyun_InventoryMovement_View1]
WHERE [status] = 0";
var list = this.SelectList<CreateAndStockinResp>(sql);
return list;