Files
geg-gas-pcitc/itc-pcitc-dependencies/itc-pcitc-dependencies-api/src/main/java/com/pictc/enums/ExceptionCommonCode.java

25 lines
696 B
Java
Raw Normal View History

package com.pictc.enums;
/**
* @author 张福财
* @date 2025年10月14日 下午4:11:24
* @Description: 合同业务 编码范围 10501-10999
*/
public interface ExceptionCommonCode {
/**
* 数据中某个字段值唯一不运行重复
*/
final BusinessCode DATA_FIELD_DUPLICATION = BusinessCode.of(10501,"字段【{}】不允许重复");
2025-10-20 10:49:23 +08:00
2025-10-21 17:28:41 +08:00
/**
* 数据删除时id不能为空
*/
final BusinessCode DATA_DEL_ID_IS_NULL = BusinessCode.of(10510,"删除数据时,表【{}】的主键为空,删除失败!");
/**
* 执行数据库函数失败
*/
final BusinessCode DB_FUNCTION_EXEC_ERROR = BusinessCode.of(10511,"执行数据库函数失败:【{}】");
}