修改流程保存,合计活动数据保存

optimize
jianghaiqing 1 year ago
parent ee521a38eb
commit 9ee643aabb

@ -280,6 +280,16 @@ namespace Myshipping.Application
currVersion = entity.DEVELOP_VERSION;
if (info.StatusSkuList != null && info.StatusSkuList.Count > 0)
{
entity.STATUS_NUM = info.StatusSkuList.Sum(a =>
{
if (a.SubList != null)
return a.SubList.Count + 1;
return 1;
});
}
_serviceWorkFlowBaseRepository.Insert(entity);
}
else

Loading…
Cancel
Save