|
|
@ -336,6 +336,11 @@ public class IcResiUserConfirmServiceImpl extends BaseServiceImpl<IcResiUserConf |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public void moveOutConfirm(IcResiUserConfirmDTO formDTO) { |
|
|
|
if (NumConstant.TWO_STR.equals(formDTO.getConfirmResult())) { |
|
|
|
if (StringUtils.isBlank(formDTO.getReason())) { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "驳回原因不能为空", "驳回原因不能为空"); |
|
|
|
} |
|
|
|
} |
|
|
|
baseDao.updateById(ConvertUtils.sourceToTarget(formDTO, IcResiUserConfirmEntity.class)); |
|
|
|
//审核不通过,发送消息
|
|
|
|
if (NumConstant.TWO_STR.equals(formDTO.getConfirmResult())) { |
|
|
|