| | |
| | | if(solutions.getType().equals(Constants.ZERO)){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"直保单据无法进行该操作"); |
| | | }else{ |
| | | if(!Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.COMPANY_SIGN.getKey())){ |
| | | if(!Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.SIGNATURE.getKey())){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"对不起,该申请状态已流转,当前不支持该操作~"); |
| | | } |
| | | } |
| | |
| | | update.setId(model.getId()); |
| | | if(applyChange.getDealBackApply() ==1){ |
| | | //如果是不通过 |
| | | update.setStatus(Constants.ApplyChangeStatus.PALTFORM_CHECK_PASS_NO.getKey()); |
| | | update.setStatus(Constants.ApplyChangeStatus.PLATFORM_AGREE.getKey()); |
| | | }else{ |
| | | update.setStatus(Constants.ApplyChangeStatus.PALTFORM_CHECK_PASS.getKey()); |
| | | update.setStatus(Constants.ApplyChangeStatus.COMPANY_SIGN.getKey()); |
| | | } |
| | | applyChangeJoinMapper.updateById(update); |
| | | Constants.NoticeObjectType noticeObjectType = Constants.NoticeObjectType.APPLY_CHANGE; |