|
@ -369,6 +369,9 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
if (_wmslst.Count() > 0 && _count == 0) |
|
|
if (_wmslst.Count() > 0 && _count == 0) |
|
|
{ |
|
|
{ |
|
|
var _version = new WmsSharePartOutPut(GuidGenerator.Create(), input.Version, _billNoNum, CurrentUser.Email); |
|
|
var _version = new WmsSharePartOutPut(GuidGenerator.Create(), input.Version, _billNoNum, CurrentUser.Email); |
|
|
|
|
|
_version.Remark= !string.IsNullOrEmpty(_joblist.FirstOrDefault().Remark) ? _joblist.FirstOrDefault().Remark : string.Empty; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await _wmsVersionRepository.InsertAsync(_version, true); |
|
|
await _wmsVersionRepository.InsertAsync(_version, true); |
|
|
} |
|
|
} |
|
|
foreach (var job in _joblist) |
|
|
foreach (var job in _joblist) |
|
@ -451,6 +454,9 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
if (_wmslstBill.Count() > 0 && _count == 0) |
|
|
if (_wmslstBill.Count() > 0 && _count == 0) |
|
|
{ |
|
|
{ |
|
|
var _version = new WmsSharePartOutPut(GuidGenerator.Create(), input.Version, _billNum, CurrentUser.Email); |
|
|
var _version = new WmsSharePartOutPut(GuidGenerator.Create(), input.Version, _billNum, CurrentUser.Email); |
|
|
|
|
|
|
|
|
|
|
|
_version.Remark= !string.IsNullOrEmpty(_joblist.FirstOrDefault().Remark) ? _joblist.FirstOrDefault().Remark : string.Empty; |
|
|
|
|
|
|
|
|
await _wmsVersionRepository.InsertAsync(_version, true); |
|
|
await _wmsVersionRepository.InsertAsync(_version, true); |
|
|
} |
|
|
} |
|
|
foreach (var job in _joblist) |
|
|
foreach (var job in _joblist) |
|
|