|
|
@ -580,6 +580,28 @@ namespace Myshipping.Application
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
var runMain = runList.FirstOrDefault().Main;
|
|
|
|
|
|
|
|
//需要补充活动表明细
|
|
|
|
|
|
|
|
var runEntity = _serviceWorkFlowRunInfoRepository.AsQueryable().Filter(null, true)
|
|
|
|
|
|
|
|
.First(rn => rn.PK_ID == runMain.PK_ID);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (runEntity != null && runEntity.IS_YIELD == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
runEntity.IS_YIELD = 1;
|
|
|
|
|
|
|
|
runEntity.ACT_DATE = nowDate;
|
|
|
|
|
|
|
|
runEntity.UpdatedTime = nowDate;
|
|
|
|
|
|
|
|
runEntity.CreatedUserId = long.Parse(info.Main.OperUserId);
|
|
|
|
|
|
|
|
runEntity.CreatedUserName = info.Main.OperUserName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await _serviceWorkFlowRunInfoRepository.AsUpdateable(runEntity).UpdateColumns(it => new
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
it.ACT_DATE,
|
|
|
|
|
|
|
|
it.IS_YIELD,
|
|
|
|
|
|
|
|
it.UpdatedTime,
|
|
|
|
|
|
|
|
it.UpdatedUserId,
|
|
|
|
|
|
|
|
it.UpdatedUserName
|
|
|
|
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
|
|
|
|
}
|
|
|
|
//只需要更新完成标记和完成时间
|
|
|
|
//只需要更新完成标记和完成时间
|
|
|
|
rt.StatusList.ForEach(async sku =>
|
|
|
|
rt.StatusList.ForEach(async sku =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|