11
This commit is contained in:
@@ -558,6 +558,14 @@ namespace FineUIPro.Web.WeldingProcess.TrustManage
|
||||
pointItem.JLAudit = Const.GlyId;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
// 导入后该批次里所有口都关闭
|
||||
var pointItemList = (from x in Funs.DB.Batch_PointBatchItem where x.PointBatchId == newBatchTrust.TopointBatch && (x.IsCompletedPoint == null || x.IsCompletedPoint == false) select x).ToList();
|
||||
foreach (var item in pointItemList)
|
||||
{
|
||||
item.IsCompletedPoint = true;
|
||||
}
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
ShowNotify("导入成功!", MessageBoxIcon.Success);
|
||||
|
||||
Reference in New Issue
Block a user