|
@@ -91,6 +91,7 @@ public class CommonCostEvent extends BaseController {
|
|
|
String flowInstanceId = activityInstance.get("flowInstanceId").toString();
|
|
|
CommonCostDO entity = commonCostService.findByInstanceId(flowInstanceId);
|
|
|
entity.setFlowStatus(FLOW_PROCESS);
|
|
|
+ entity.setFlowFinishtime(LocalDateTime.now());
|
|
|
commonCostService.updateCommonCost(CommonCostConvert.INSTANCE.convert(entity));
|
|
|
List<CommonCostDetailDO> detailList = commonCostDetailService.getListByCommonCostId(entity.getId());
|
|
|
StringBuilder projectName = new StringBuilder();
|
|
@@ -99,6 +100,7 @@ public class CommonCostEvent extends BaseController {
|
|
|
projectName.append(project.getXmmc());
|
|
|
projectName.append(";");
|
|
|
});
|
|
|
+ projectName.setLength(projectName.length() - 1);
|
|
|
Integer agent = entity.getIsAgent();
|
|
|
String applyTime = LocalDateTimeUtils.format(entity.getApplyTime(), null);
|
|
|
String flowDesc = "";
|