异常信息 添加 VARIFY_EXCEPTION_DATA_EXIT

yun-zuoyi
wei.peng 7 years ago
parent fe1cb7a8c4
commit 8e673a70c9

@ -52,7 +52,7 @@ public class OrganizeServiceImpl implements IOrganizeService {
if (count >= 1) { if (count >= 1) {
throw ImppExceptionBuilder.newInstance() throw ImppExceptionBuilder.newInstance()
.setSystemID(CommonEnumUtil.SOFT_TYPE.IMPP.getCode()) .setSystemID(CommonEnumUtil.SOFT_TYPE.IMPP.getCode())
.setErrorCode(ImppExceptionEnum.VARIFY_EXCEPTION_DATA_EXIT.getCode()) .setErrorCode(ImppExceptionEnum.VARIFY_EXCEPTION_DATA_NOT_EXIT.getCode())
.setErrorDetail("该数据有子集") .setErrorDetail("该数据有子集")
.setErrorSolution("请先删除子集在操作") .setErrorSolution("请先删除子集在操作")
.build(); .build();

@ -219,7 +219,7 @@ public class SysUserServiceImpl implements ISysUserService {
}else { }else {
throw ImppExceptionBuilder.newInstance() throw ImppExceptionBuilder.newInstance()
.setSystemID(CommonEnumUtil.SOFT_TYPE.CORE.getCode()) .setSystemID(CommonEnumUtil.SOFT_TYPE.CORE.getCode())
.setErrorCode(ImppExceptionEnum.USER_LOGIN_NAME_EXCEPTION.getCode()) .setErrorCode(ImppExceptionEnum.VARIFY_EXCEPTION_DATA_EXIT.getCode())
.setErrorDetail("用户名已存在") .setErrorDetail("用户名已存在")
.setErrorSolution("请重新输入用户名") .setErrorSolution("请重新输入用户名")
.build(); .build();

Loading…
Cancel
Save