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

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,
EffDate = it.EffDate,
Id = it.Id,
NeedNum=0,
AddToJJNum=0
//NeedNum=0,
//AddToJJNum=0
}).UpdateColumns(it => new { it.Quantity, it.ManuNo, it.EffDate,it.NeedNum,it.AddToJJNum }).ExecuteCommand();
SqlSugarHelper.Db.Updateable(new ChannelList()
{
State=0,
Id=it.Chnguid
}).UpdateColumns(cl => new { cl.State }).ExecuteCommand();
//SqlSugarHelper.Db.Updateable(new ChannelList()
//{
// State=0,
// Id=it.Chnguid
//}).UpdateColumns(cl => new { cl.State }).ExecuteCommand();
// 保存数据 盘点记录
SqlSugarHelper.Db.Insertable(new MachineRecord()