This commit is contained in:
tongfei
2024-03-22 16:54:27 +08:00
parent 17378dafb5
commit ae135dff4e
4 changed files with 90 additions and 91 deletions

View File

@@ -179,11 +179,11 @@ namespace WMS.Web.Domain.Entitys
/// <param name="syncStatus"></param>
public void SyncFail(string remark, int erpDetailId, int operateId, SyncStatus syncStatus)
{
var erpd = this.ErpDetails.Where(w=>w.ErpDetailId==erpDetailId).ToList();
erpd.ForEach(det =>
var erpd = this.ErpDetails.Where(w => w.ErpDetailId == erpDetailId).ToList();
erpd.ForEach(det =>
{
det.SuccessSync = syncStatus;
});
});
this.SuccessSync = SyncStatus.Fail;
this.Remark = remark;
this.OperateId = operateId;