流程变量优化

master
pengqiang 2022-12-26 17:10:30 +08:00
parent ba4675994d
commit 7cfc845030
1 changed files with 3 additions and 3 deletions

View File

@ -151,11 +151,11 @@ public class ProjectProcessService {
BigDecimal repaidAmount = getProjectRepaidAmount(entity.getProjectId());
variables.put("repaidAmount", repaidAmount);
// 合同金额
variables.put("contractAmount", project.getContractAmount());
variables.put("amount", project.getContractAmount() == null ? 0 : project.getContractAmount());
// 项目类型
variables.put("projectType", Enumerable.of(ProjectType.class, project.getType()));
variables.put("projectType", project.getType());
// 合作类型
variables.put("cooperationType", Enumerable.of(CooperationType.class, project.getCooperateType()));
variables.put("cooperationType", project.getCooperateType() == null ? 0 : project.getCooperateType());
startAuditProgress(entity, variables);
}