|  |  | 
 |  |  |             applyLogType = Constants.ApplyLogType.CA_PALTFORM_REFUSE_APPLY; | 
 |  |  |             info = applyLogType.getInfo(); | 
 |  |  |             info = info.replace("${param}", param.getCheckInfo()); | 
 |  |  | // | 
 |  |  |             if( Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.RETURN_APPLY_SIGNATURE.getKey())){ | 
 |  |  |             update.setStatus(Constants.ApplyChangeStatus.SIGNATURE.getKey()); | 
 |  |  |             }else if( Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.RETURN_APPLY_UPLOAD.getKey())){ | 
 |  |  |                 update.setStatus(Constants.ApplyChangeStatus.UPLOAD.getKey()); | 
 |  |  |             } | 
 |  |  |         }else{ | 
 |  |  |             //如果是同意,两种申请退回状态都可操作 | 
 |  |  |             if(!(Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.RETURN_APPLY_SIGNATURE.getKey()) | 
 |  |  |                     ||Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.RETURN_APPLY_UPLOAD.getKey()))){ | 
 |  |  |                 throw  new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"对不起,该申请状态已流转,当前不支持该操作~"); | 
 |  |  |             } | 
 |  |  |             applyLogType = Constants.ApplyLogType.CA_PALTFORM_REFUSE_APPLY; | 
 |  |  |             if( Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.RETURN_APPLY_SIGNATURE.getKey())){ | 
 |  |  |                 update.setStatus(Constants.ApplyChangeStatus.SIGNATURE.getKey()); | 
 |  |  |             }else if( Constants.equalsInteger(model.getStatus(),Constants.ApplyChangeStatus.RETURN_APPLY_UPLOAD.getKey())){ | 
 |  |  |                 update.setStatus(Constants.ApplyChangeStatus.UPLOAD.getKey()); | 
 |  |  |             } | 
 |  |  |             update.setStatus(Constants.ApplyChangeStatus.PLATFORM_AGREE.getKey()); | 
 |  |  |             applyLogType = Constants.ApplyLogType.CA_PLATFORM_AGREE_BACK_APPLY; | 
 |  |  |         } | 
 |  |  |         update.setEditDate(new Date()); | 
 |  |  |         update.setEditor(user.getId()); |