Merge branch 'main' of https://gitee.com/doan-tech/shanghaigangxiangtuzhuangMES
This commit is contained in:
@@ -258,7 +258,7 @@ namespace ZR.Service.mes.wms
|
||||
.Where(it => it.ActionTime >= parm.StartTime)
|
||||
.ToList();
|
||||
Context.Deleteable(delwmOneTimeRecords).ExecuteCommand();
|
||||
if (delwmOneTimeRecords.Any())
|
||||
if (wmOneTimeRecords.Any())
|
||||
{
|
||||
Context.Insertable(wmOneTimeRecords).ExecuteCommand();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user