有待取药或待入库药品不管

This commit is contained in:
maqiao 2025-04-23 15:03:02 +08:00
parent 27c9afd75f
commit 39ad688a43
1 changed files with 7 additions and 7 deletions

View File

@ -161,15 +161,15 @@ namespace DM_Weight.ViewModels
ManuNo = it.ManuNo, ManuNo = it.ManuNo,
EffDate = it.EffDate, EffDate = it.EffDate,
Id = it.Id, Id = it.Id,
NeedNum=0, //NeedNum=0,
AddToJJNum=0 //AddToJJNum=0
}).UpdateColumns(it => new { it.Quantity, it.ManuNo, it.EffDate,it.NeedNum,it.AddToJJNum }).ExecuteCommand(); }).UpdateColumns(it => new { it.Quantity, it.ManuNo, it.EffDate,it.NeedNum,it.AddToJJNum }).ExecuteCommand();
SqlSugarHelper.Db.Updateable(new ChannelList() //SqlSugarHelper.Db.Updateable(new ChannelList()
{ //{
State=0, // State=0,
Id=it.Chnguid // Id=it.Chnguid
}).UpdateColumns(cl => new { cl.State }).ExecuteCommand(); //}).UpdateColumns(cl => new { cl.State }).ExecuteCommand();
// 保存数据 盘点记录 // 保存数据 盘点记录
SqlSugarHelper.Db.Insertable(new MachineRecord() SqlSugarHelper.Db.Insertable(new MachineRecord()