合并供应链代码
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
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">
|
||||
<parent>
|
||||
<artifactId>yudao</artifactId>
|
||||
<artifactId>dsc-supply</artifactId>
|
||||
<groupId>cn.iocoder.cloud</groupId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
@@ -13,5 +13,9 @@ public interface ErrorCodeConstants {
|
||||
|
||||
// ========== 示例模块 1-001-000-000 ==========
|
||||
ErrorCode EXAMPLE_NOT_EXISTS = new ErrorCode(1_001_000_001, "示例不存在");
|
||||
ErrorCode BILL_MAIN_NOT_EXISTS = new ErrorCode(1, "收发货单不存在");
|
||||
ErrorCode BILL_MAIN_DETAIL_NOT_EXISTS = new ErrorCode(2, "收发货单明细不存在");
|
||||
|
||||
ErrorCode PARAMS_NOT_EXISTS = new ErrorCode(1_029_000_101, "参数不合法");
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package cn.iocoder.yudao.module.receivedeliver.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 预报明细状态,字典代码FRCST_DTL_STS
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ForecastDetailStatusEnum {
|
||||
|
||||
IS_CFRM("IS_CFRM", "未确认"),
|
||||
UN_ENBD("UN_ENBD", "未收发货"),
|
||||
IS_ENBD("IS_ENBD", "已收发货"),
|
||||
PRVS("PRVS","停用");
|
||||
|
||||
/**
|
||||
* 条目代码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 条目显示名称
|
||||
*/
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package cn.iocoder.yudao.module.receivedeliver.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 预报明细类型,字典代码FRCST_WY
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ForecastDetailTypeEnum {
|
||||
|
||||
API("API", "接口上传"),
|
||||
HAND("HAND", "用户新增");
|
||||
|
||||
/**
|
||||
* 条目代码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 条目显示名称
|
||||
*/
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package cn.iocoder.yudao.module.receivedeliver.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 预报品位关联类型,字典代码FRCST_REL_TP
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ForecastElementRelativityTypeEnum {
|
||||
|
||||
MAIN("MAIN", "主表关联"),
|
||||
DTL("DTL", "明细关联");
|
||||
|
||||
/**
|
||||
* 条目代码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 条目显示名称
|
||||
*/
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package cn.iocoder.yudao.module.receivedeliver.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 预报类型,字典代码FRCST_TP
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ForecastPlanStatusEnum {
|
||||
|
||||
FRCST("FRCST", "到货预报"),
|
||||
SND_PLN("SND_PLN", "发货计划"),
|
||||
MVE_SBM("MVE_SBM", "移库提货单"),
|
||||
SND_SBM("SND_SBM", "发货提货单");
|
||||
|
||||
/**
|
||||
* 条目代码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 条目显示名称
|
||||
*/
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package cn.iocoder.yudao.module.receivedeliver.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 预报状态,字典代码FRCST_STS
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ForecastStatusEnum {
|
||||
|
||||
UN("UN", "到货预报"),
|
||||
IS_TRNS("IS_TRNS", "已下发"),
|
||||
IS_CFRM("IS_CFRM", "已确认"),
|
||||
IS_APRV("IS_APRV", "已收货/已发货"),
|
||||
IS_DEL("IS_DEL", "已删除"),
|
||||
IS_SUBMIT("IS_SUBMIT", "已提交"),
|
||||
IS_CLOSE("IS_CLOSE", "已关闭");
|
||||
|
||||
/**
|
||||
* 条目代码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 条目显示名称
|
||||
*/
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package cn.iocoder.yudao.module.receivedeliver.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 运输方式,字典代码TRP_WY
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ForecastTransportWayEnum {
|
||||
|
||||
CR("CR", "汽运配送"),
|
||||
PLWY("PLWY", "火车配送"),
|
||||
ARLN("ARLN", "机场配送"),
|
||||
CSTM("CSTM", "客户自提");
|
||||
|
||||
/**
|
||||
* 条目代码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 条目显示名称
|
||||
*/
|
||||
private String name;
|
||||
}
|
||||
@@ -131,21 +131,21 @@
|
||||
<build>
|
||||
<!-- 设置构建的 jar 包名 -->
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<plugins>
|
||||
<!-- 打包 -->
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<!-- <plugins>-->
|
||||
<!-- <!– 打包 –>-->
|
||||
<!-- <plugin>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||||
<!-- <version>${spring.boot.version}</version>-->
|
||||
<!-- <executions>-->
|
||||
<!-- <execution>-->
|
||||
<!-- <goals>-->
|
||||
<!-- <goal>repackage</goal> <!– 将引入的 jar 打入其中 –>-->
|
||||
<!-- </goals>-->
|
||||
<!-- </execution>-->
|
||||
<!-- </executions>-->
|
||||
<!-- </plugin>-->
|
||||
<!-- </plugins>-->
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
*
|
||||
* @author ZT
|
||||
*/
|
||||
@SpringBootApplication
|
||||
//@SpringBootApplication
|
||||
public class ReceiveDeliverServerApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user