增加表名常量类,增加异常消息枚举

This commit is contained in:
2025-10-22 10:47:12 +08:00
committed by 张秉卓
parent 97e269d969
commit 4edb5328c1
4 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,21 @@
package com.pictc.constant;
/**
* @author 张秉卓
* @date 2025年10月22日 下午12:00:34
* @Description: 表名常量
*/
public interface TableNameConstants {
/**
* 价格条款表
*/
String LNG_B_PRICE_TERM = "lng_b_price_term";
/**
* 币种表
*/
String LNG_B_CURRENCY = "lng_b_currency";
}

View File

@ -16,6 +16,9 @@ public interface ExceptionCommonCode {
* 数据删除时id不能为空
*/
final BusinessCode DATA_DEL_ID_IS_NULL = BusinessCode.of(10510,"删除数据时,表【{}】的主键为空,删除失败!");
/**
* 执行数据库函数失败
*/
final BusinessCode DB_FUNCTION_EXEC_ERROR = BusinessCode.of(10511,"执行数据库函数失败:【{}】");
}