| | |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean editTechnicalStatusEvaluationOrderChange(EamTechnicalStatusEvaluationOrderChange request) { |
| | | EamTechnicalStatusEvaluationOrderChange entity = this.getBaseMapper().selectById(request.getId()); |
| | | if(entity == null) { |
| | | throw new JeecgBootException("编辑的数据已删除,请刷新重试!"); |
| | | } |
| | | if(!TechnicalStatusEvaluationOrderChangeStatusEnum.WAIT_SUBMIT.name().equals(entity.getChangeStatus())) { |
| | | throw new JeecgBootException("只有待提交状态才可编辑!"); |
| | | } |
| | | entity.setApplyReason(request.getApplyReason()); |
| | | entity.setDeferredEvaluationDate(request.getDeferredEvaluationDate()); |
| | | this.getBaseMapper().updateById(entity); |
| | | return true; |
| | | } |
| | | |
| | | @Override |
| | | public void afterFlowHandle(FlowMyBusiness business) { |
| | | business.getTaskNameId();//接下来审批的节点 |
| | | business.getValues();//前端传进来的参数 |