功能调整

This commit is contained in:
2025-11-06 17:41:32 +08:00
parent dab16650a1
commit 8a1266a9b7

View File

@@ -745,20 +745,6 @@ namespace ZR.Service.mes.wms
Context.Ado.BeginTran();
try
{
// 批量更新校验状态
var packageCodes = preparegoodsList
.Where(p => !string.IsNullOrEmpty(p.PackageCode))
.Select(p => p.PackageCode)
.ToList();
if (packageCodes.Any())
{
Context.Updateable<WmFgentryInspect>()
.SetColumns(it => it.Bitwm == 1)
.Where(it => packageCodes.Contains(it.Packcode))
.ExecuteCommand();
}
// 批量插入入库记录
int insertResult = Context.Insertable(preparegoodsList).ExecuteCommand();
if (insertResult == 0)