| | |
| | | System.out.println("***************************DelegateExecution"); |
| | | IPropertyCapitalApplyService bean = SpringUtils.getBean(IPropertyCapitalApplyService.class); |
| | | PropertyCapitalApplyEntity applyEntity = bean.getOne(Wrappers.<PropertyCapitalApplyEntity>lambdaQuery().eq(PropertyCapitalApplyEntity::getProcessInstanceId, delegateExecution.getProcessInstanceId())); |
| | | if (applyEntity == null) { |
| | | return; |
| | | } |
| | | if (delegateExecution.getCurrentActivityId().equals("ownersCommittee1")) { |
| | | applyEntity.setApplyStatus(1); |
| | | } else if (delegateExecution.getCurrentActivityId().equals("ownersCommitteePass")) { |
| | |
| | | applyEntity.setApplyStatus(5); |
| | | } else if (delegateExecution.getCurrentActivityId().equals("applyNotPass")) { |
| | | applyEntity.setApplyStatus(6); |
| | | } else if (delegateExecution.getCurrentActivityId().equals("ownersCommitteeFlag0")) { |
| | | applyEntity.setApplyStatus(2); |
| | | } |
| | | bean.updateById(applyEntity); |
| | | } |