init
This commit is contained in:
25
yudao-module-car/yudao-module-car-api/pom.xml
Normal file
25
yudao-module-car/yudao-module-car-api/pom.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-module-car</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>yudao-module-car-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>${project.artifactId}</name>
|
||||
<description> <!-- 4. 新增 description 为该模块的描述 -->
|
||||
寄存轮胎模块,主要实现 轮胎寄存预约、轮胎取胎、轮胎暂存 等功能。
|
||||
</description>
|
||||
|
||||
<dependencies> <!-- 5. 新增 yudao-common 依赖 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,34 @@
|
||||
package cn.iocoder.yudao.module.car.enums;
|
||||
import cn.iocoder.yudao.framework.common.exception.ErrorCode;
|
||||
|
||||
|
||||
/**
|
||||
* Infra 错误码枚举类
|
||||
*
|
||||
* infra 系统,使用 1_001_001_000 段
|
||||
*/
|
||||
public interface ErrorCodeConstants {
|
||||
|
||||
ErrorCode STORE_NOT_EXISTS = new ErrorCode(1_001_001_001, "门店管理不存在");
|
||||
ErrorCode WAREHOUSE_NOT_EXISTS = new ErrorCode(1_001_001_002, "仓库管理不存在");
|
||||
ErrorCode DEPOSIT_RECORDS_NOT_EXISTS = new ErrorCode(1_001_001_003, "轮胎存单不存在");
|
||||
ErrorCode DEPOSIT_RECORDS_DETAIL_NOT_EXISTS = new ErrorCode(1_001_001_004, "轮胎存单明细不存在");
|
||||
ErrorCode RELEASE_RECORDS_NOT_EXISTS = new ErrorCode(1_001_001_005, "轮胎取单不存在");
|
||||
ErrorCode RELEASE_RECORDS_DETAIL_NOT_EXISTS = new ErrorCode(1_001_001_006, "轮胎取单明细不存在");
|
||||
ErrorCode RELEASE_RECORDS_NOT_STORAGE_STATUS = new ErrorCode(1_001_001_007, "所选的存单需要为入库状态");
|
||||
ErrorCode RELEASE_RECORDS_STORAGE_QUANTITY = new ErrorCode(1_001_001_008, "所选的存单中的所有轮胎均已预约取出");
|
||||
|
||||
|
||||
ErrorCode DEPOSIT_RECORDS_NO_TYPE = new ErrorCode(1_001_001_009, "【{}】未存储相关类型数据");
|
||||
ErrorCode DEPOSIT_RECORDS_QUANTITY_EXCEEDS_AVAILABLE = new ErrorCode(1_001_001_010, "【{}】取出数量大于剩余数量");
|
||||
|
||||
ErrorCode TIRE_NOT_STORE_USER = new ErrorCode(1_001_002_001, "轮胎系统不存在当前门店用户");
|
||||
ErrorCode TIRE_NOT_WAREHOUSE_USER = new ErrorCode(1_001_002_002, "轮胎系统不存在当前仓库用户");
|
||||
ErrorCode TIRE_NOT_USER = new ErrorCode(1_001_002_003, "轮胎系统不存在当前用户");
|
||||
|
||||
|
||||
ErrorCode RENEWAL_PRODUCT_NOT_EXISTS = new ErrorCode(1_001_002_004, "车辆续保产品信息不存在");
|
||||
ErrorCode RENEWAL_ORDER_NOT_EXISTS = new ErrorCode(1_001_002_005, "车辆续保订单信息不存在");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user