feat: 增改时校验客户名称和编号唯一
This commit is contained in:
1 parent
25146b57c5
commit
3ee5944153
2 files changed
+20
-1
No files matched your search
+3
-1
@@ -8,5 +8,7 @@ import org.agt.framework.common.exception.ErrorCode;
|
||||
* @since: 2025-05-22
|
||||
*/
|
||||
public interface ErrorCodeConstants {
|
||||
ErrorCode CUSTOMER_NOT_EXISTS = new ErrorCode(2000, "客户不存在");
|
||||
ErrorCode CUSTOMER_NOT_EXISTS = new ErrorCode(1_100_001_001, "客户不存在");
|
||||
ErrorCode CUSTOMER_NAME_DUPLICATE = new ErrorCode(1_100_001_002, "客户名称`{}`已存在");
|
||||
ErrorCode CUSTOMER_CODE_DUPLICATE = new ErrorCode(1_100_001_003, "客户编号`{}`已存在");
|
||||
}
|
||||
Reference in new issue
Block a user