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 Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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,"字段【{}】不允许重复");
/**
* 数据删除时id不能为空
*/
final BusinessCode DATA_DEL_ID_IS_NULL = BusinessCode.of(10510,"删除数据时,表【{}】的主键为空,删除失败!");
/**
* 执行数据库函数失败
*/
final BusinessCode DB_FUNCTION_EXEC_ERROR = BusinessCode.of(10511,"执行数据库函数失败:【{}】");
}