优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user