|
@@ -332,10 +332,7 @@ public class HandlerManage { |
|
|
.orElseThrow(() -> BizException.wrap("当前审批的标段不存在")); |
|
|
.orElseThrow(() -> BizException.wrap("当前审批的标段不存在")); |
|
|
|
|
|
|
|
|
Set<String> instCodes = CollUtils.fieldSet(purchaseInstMap.values(), PurchaseInst::getInstCode); |
|
|
Set<String> instCodes = CollUtils.fieldSet(purchaseInstMap.values(), PurchaseInst::getInstCode); |
|
|
if (instCodes.size() != purchases.size()) { |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
if (wflowHelper.allInstancesFinished(instCodes)) { |
|
|
|
|
|
|
|
|
if (instCodes.size() == purchases.size() && wflowHelper.allInstancesFinished(instCodes)) { |
|
|
projectStateMachineUtil.pass(project); |
|
|
projectStateMachineUtil.pass(project); |
|
|
projectService.updateById(project); |
|
|
projectService.updateById(project); |
|
|
} |
|
|
} |
|
|