流程变量优化
parent
ba4675994d
commit
7cfc845030
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue