yun-zuoyi
汪云昊 5 years ago
commit b8abed43ca

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,5 +19,37 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -23,5 +23,37 @@
<artifactId>hibernate-validator</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -41,7 +41,38 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -43,4 +43,6 @@ public @interface DynamicField {
String searchColumnName() default "";
// 回显列名
String explicitColumnName() default "";
// 下拉框规则
WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE selectRule() default WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_ENUM;
}

@ -148,6 +148,72 @@ public class MesEnumUtil {
return valueOf(val);
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum TOOLING_ACTION_RECORD_TYPE {
REPLACE(10, "REPLACE", "更换"),
WAREHOUSE(20, "WAREHOUSE", "入库"),
Use(30, "Use", "领用");
private int value;
private String code;
private String description;
TOOLING_ACTION_RECORD_TYPE(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public String getCode() {
return code;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static String codeOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].code;
}
}
return tmp;
}
public static int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
public static String valueOfDescription(int val) {
return valueOf(val);
}
}
/**
* JIS
*/
@ -1173,7 +1239,9 @@ public class MesEnumUtil {
public enum MES_PRODUCE_SN_TYPE {
NORMAL(10, "正常件"),
FIRST_INSPECTION(20, "首检件");
FIRST_INSPECTION(20, "首检件"),
HALF_PRODUCT(30, "半成品"),
KP(40, "关键件");
private int value;
private String description;
@ -3566,7 +3634,8 @@ public class MesEnumUtil {
QUALIFIED(10, "number", "数字"),
DEFECTED(20, "text", "字符串"),
SCRAPED(30, "select", "可选值");
SCRAPED(30, "select", "可选值"),
BUTTON(40, "button", "按钮");
private int value;
private String code;
@ -4425,7 +4494,8 @@ public class MesEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WORK_CELL_MONITOR_TYPE {
MONITOR(10, "监听组件"),
SHOW(20, "展示组件");
SHOW(20, "展示组件"),
BUTTON(30, "按钮组件");
private int value;
private String description;
@ -4490,4 +4560,42 @@ public class MesEnumUtil {
return description;
}
}
/**
* BOM
* 10.
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum STATION_BOM_MATCH_RULE {
BARCODE_RULE_MATCHING(10, "条码规则匹配"),
PROCESS_BARCODE_MATCHING(20, "过程条码匹配"),
BAR_CODE_MATCHING(30, "箱条码匹配");
private int value;
private String description;
STATION_BOM_MATCH_RULE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -202,7 +202,7 @@ public class MesPcnEnumUtil {
PCN_MENU(170, "PCN_MENU", ""),
PCN_MODULE(180, "PCN_MODULE", ""),
PCN_LOGOUT(190, "PCN_LOGOUT", ""),
UPDATE_LOCALE_RES(200, "LOCALE_RES_URL", "LOCALE_RES_URL"),
UPDATE_LOCALE_RES(200, "SYNC_DATA_URL", "LOCALE_RES_URL"),
PCN_SYS_LOCALE_LANGUAGE(210, "PCN_SYS_LOCALE_LANGUAGE", ""),
PCN_SYS_ALL_LANGUAGE(220, "PCN_SYS_ALL_LANGUAGE", "PCN_SYS_ALL_LANGUAGE"),
PCN_SYS_RESOURCE_KEY_LANGUAGE(230, "PCN_SYS_RESOURCE_KEY_LANGUAGE", "PCN_SYS_RESOURCE_KEY_LANGUAGE");
@ -418,7 +418,9 @@ public class MesPcnEnumUtil {
public enum MES_PRODUCE_SN_TYPE {
NORMAL(10, "正常件"),
FIRST_INSPECTION(20, "首检件");
FIRST_INSPECTION(20, "首检件"),
HALF_PRODUCT(30, "半成品"),
KP(40, "关键件");
private int value;
private String description;
@ -1961,6 +1963,31 @@ public class MesPcnEnumUtil {
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WORK_CELL_POINT_GROUP_STATUS {
CREATE(10, "创建"),
COMPLETE(20, "完成");
private int value;
private String description;
WORK_CELL_POINT_GROUP_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
}
/**
* MesPartCategorycategoryType
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -2215,43 +2242,6 @@ public class MesPcnEnumUtil {
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PCN_SN_TYPE {
NORMAL(10, "正常件"),
FIRST_INSPECTION(20, "首检件");
private int value;
private String description;
PCN_SN_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* MesPlanOrdersource
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -2482,7 +2472,8 @@ public class MesPcnEnumUtil {
FILE("file", "定制内容文件"),
IMAGE("image", "图片"),
BUTTON("button", "按钮"),
TABLES("tables", "多个表格");
TABLES("tables", "多个表格"),
FORM("form", "文本按钮");
private String value;
private String description;
@ -2908,7 +2899,8 @@ public class MesPcnEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CACHA_QUEUE_STATUS {
CREATE(10, "创建");
CREATE(10, "创建"),
COMPLETE(20, "完成");
private int value;
private String description;
@ -2951,4 +2943,295 @@ public class MesPcnEnumUtil {
return description;
}
}
/**
* BOM
* 10.
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum STATION_BOM_MATCH_RULE {
BARCODE_RULE_MATCHING(10, "条码规则匹配"),
PROCESS_BARCODE_MATCHING(20, "过程条码匹配"),
BAR_CODE_MATCHING(30, "箱条码匹配");
private int value;
private String description;
STATION_BOM_MATCH_RULE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
* 10.
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum OPERATION_MODE {
SINGLE_SCAN(10, "单个扫描"),
NO_SCAN_DEDUCTION(20, "不扫描后端扣减");
private int value;
private String description;
OPERATION_MODE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum FINISH_FLAG {
FALSE(0, "未完成"),
TRUE(1, "完成");
private int value;
private String description;
FINISH_FLAG(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum HM_FLAG {
NOT_FILM_EXCHANGE(0, "不需换模"),
FILM_EXCHANGE(1, "需换模");
private int value;
private String description;
HM_FLAG(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* mes_
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum EQUIPMENT_TOOLING_TOOLING_TYPE {
WORK_CLOTHES(10, "工装"),
CHECKING_TOOL(20, "检具"),
MOULD(30, "模具");
private int value;
private String description;
EQUIPMENT_TOOLING_TOOLING_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* mes_
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ACTION_TYPE {
REPLACE(10, "更换"),
WAREHOUSING(20, "入库"),
RECEIVE(30, "领用");
private int value;
private String description;
ACTION_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum TABLE_COLOR {
GREEN("green", "绿色"),
YELLOW("Yellow", "黄色");
private String code;
private String description;
TABLE_COLOR(String code, String description) {
this.code = code;
this.description = description;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(String val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(val)) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* JIT
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SHIPPING_ACTUAL_STATUS {
CREATE(10, "创建"),
CANCEL(20, "已发运");
private int value;
private String description;
SHIPPING_ACTUAL_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -1469,9 +1469,9 @@ public class PtlPcnEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AREA_SECTION_TASK_TYPE {
CREATE(10, "CREATE", "JIT任务"),
RECEIPT(20, "IN_PROGRESS", "单据任务"),
RECEIPT_FINISH(30, "COMPLETED", "单点任务");
JIT_TASK(10, "JIT_TASK", "JIT任务"),
DOCUMENT_TASK(20, "DOCUMENT_TASK", "单据任务"),
SINGLE_POINT_TASK(30, "SINGLE_POINT_TASK", "单点任务");
private int value;
private String code;
@ -1560,9 +1560,9 @@ public class PtlPcnEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AREA_TASK_TYPE {
CREATE(10, "JIT_TASK", "JIT任务"),
RECEIPT(20, "DOCUMENT_TASK", "单据任务"),
RECEIPT_FINISH(30, "SINGLE_POINT_TASK", "单点任务");
JIT_TASK(10, "JIT_TASK", "JIT任务"),
DOCUMENT_TASK(20, "DOCUMENT_TASK", "单据任务"),
SINGLE_POINT_TASK(30, "SINGLE_POINT_TASK", "单点任务");
private int value;
private String code;
@ -1606,9 +1606,9 @@ public class PtlPcnEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MAIN_TASK_TYPE {
CREATE(10, "JIT_TASK", "JIT任务"),
RECEIPT(20, "DOCUMENT_TASK", "单据任务"),
RECEIPT_FINISH(30, "SINGLE_POINT_TASK", "单点任务");
JIT_TASK(10, "JIT_TASK", "JIT任务"),
DOCUMENT_TASK(20, "DOCUMENT_TASK", "单据任务"),
SINGLE_POINT_TASK(30, "SINGLE_POINT_TASK", "单点任务");
private int value;
private String code;

@ -139,6 +139,15 @@ public class WmsEnumUtil {
}
return tmp;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
@ -1266,45 +1275,45 @@ public class WmsEnumUtil {
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CS_STRATEGY_TYPE {
PART_COVERAGE(110, "物料分类覆盖"),
TOUCH(120, "动碰"),
ZORE_STOCK(130, "零库存");
private int value;
private String description;
CS_STRATEGY_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static String valueOfDescription(int val) {
return valueOf(val);
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CS_STRATEGY_TYPE {
PART_COVERAGE(110, "物料分类覆盖"),
TOUCH(120, "动碰"),
ZORE_STOCK(130, "零库存");
private int value;
private String description;
CS_STRATEGY_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static String valueOfDescription(int val) {
return valueOf(val);
}
}
/**
*
@ -2977,6 +2986,15 @@ public class WmsEnumUtil {
}
return tmp;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
@ -4169,7 +4187,7 @@ public class WmsEnumUtil {
}
}
/**
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -4406,10 +4424,10 @@ public class WmsEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PACKAGE_OPERATE_TYPE {
PACKAGE_ADD("PACKAGE_ADD", "新"),
PACKAGE_ADDITIONAL("PACKAGE_ADDITIONAL", "追加"),
PACKAGE_DELETE("PACKAGE_DELETE", "删除"),
PACKAGE_CLEAR("PACKAGE_CLEAR", "清空");
PACKAGE_ADD("PACKAGE_ADD", "新建组号"),
PACKAGE_ADDITIONAL("PACKAGE_ADDITIONAL", "增添条码"),
PACKAGE_DELETE("PACKAGE_DELETE", "移除条码"),
PACKAGE_CLEAR("PACKAGE_CLEAR", "删除组号");
private String value;
private String description;
@ -4890,10 +4908,18 @@ public class WmsEnumUtil {
}
return tmp;
}
public static FIELD_TYPE codeOf(Integer value) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value==value) {
return values()[i];
}
}
return null;
}
}
/**
*
*
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -5150,4 +5176,129 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
* 10-PDA20-30-
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PLUGIN_TYPE {
PDA_PLUGIN(10, "PDA_PLUGIN", "PDA插件"),
BTN_PLUGIN(20, "BTN_PLUGIN", "按钮增强插件"),
TRANS_PLUGIN(30, "TRANS_PLUGIN", "交易处理插件");
private int value;
private String code;
private String description;
PLUGIN_TYPE(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public String getCode() {
return code;
}
public static PLUGIN_TYPE codeOf(int value) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
return values()[i];
}
}
return null;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
}
/**
* -
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum DYNAMIC_FIELD_SELECT_RULE {
SINGLE_ENUM(10, "SINGLE_ENUM", "单选枚举"),
MULTIPLE_ENUM(20, "MULTIPLE_ENUM", "多选枚举"),
SINGLE_URL(30, "SINGLE_URL", "单选接口"),
MULTIPLE_URL(40, "MULTIPLE_URL", "多选接口");
private int value;
private String code;
private String description;
DYNAMIC_FIELD_SELECT_RULE(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public String getCode() {
return code;
}
public static DYNAMIC_FIELD_SELECT_RULE codeOf(int value) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
return values()[i];
}
}
return null;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
}
}

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -20,4 +20,36 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,13 +5,44 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>i3plus-pojo-hardswitch</artifactId>
<packaging>jar</packaging>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,13 +5,44 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>i3plus-pojo-jobflow</artifactId>
<packaging>jar</packaging>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,5 +19,37 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,6 +19,37 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -105,4 +105,8 @@ public class MesPlc extends BaseBean implements Serializable {
@Transient
@ApiParam("设备名称")
private String equipmentName;
@Column(name = "TOOLING_CODE ")
@ApiParam("工装代码")
private String toolingCode;
}

@ -0,0 +1,45 @@
package cn.estsh.i3plus.pojo.mes.pcn.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :
* @Reference :
* @Author : zcg
* @Date : 2020/3/18 0018 - 9:07
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_SN_PHOTO_RELATION")
@Api("条码照片关系")
public class MesSnPhotoRelation extends BaseBean implements Serializable {
private static final long serialVersionUID = -7732648131003455681L;
@Column(name = "SERIAL_NUMBER")
@ApiParam("条码")
private String serialNumber;
@Column(name = "PHOTO_PATH")
@ApiParam("照片路径")
private String photoPath;
@Column(name = "PHOTO_NAME")
@ApiParam("照片名称")
private String photoName;
}

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,6 +19,37 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -0,0 +1,91 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
* @Description :JIT
* @Reference :
* @Author : qianhuasheng
* @CreateDate : 2020-03-27
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "if_queue_shipping")
@Api("JIT发运数据同步")
public class IfQueueShipping extends BaseBean implements Serializable {
private static final long serialVersionUID = -8961182851667690154L;
@Column(name = "JIT_NO")
@ApiParam("JIT队列编号")
private String jitNo;
@Column(name = "VIN_CODE")
@ApiParam("vin")
private String vinCode;
@Column(name = "CUST_FLAG_NO")
@ApiParam("客户标识号")
private String custFlagNo;
@Column(name = "PART_NO")
@ApiParam("物料号")
private String partNo;
@Column(name = "PART_NAME")
@ApiParam("物料名称")
private String partName;
@Column(name = "PRODUCT_SN")
@ApiParam("产品条码")
private String productSn;
@Column(name = "QTY")
@ApiParam("数量")
private Double qty;
@Column(name = "SUPPLIER_CODE")
@ApiParam("操作人")
private String supplierCode;
@Column(name = "ACTION_DATE_TIME")
@ApiParam("操作时间")
private Date actionDateTime;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("产线")
private String workCenterCode;
@Column(name = "SYNC_STATUS")
@ApiParam("同步状态")
private Integer syncStatus;
@Column(name = "ERROR_MESSAGE")
@ApiParam("异常消息")
private String errorMessage;
@Column(name = "ACTION_CODE")
@ApiParam("动作代码")
private String actionCode;
@Column(name = "IF_CODE")
@ApiParam("接口代码")
private Integer ifCode;
}

@ -42,4 +42,8 @@ public class MesCachaQueue extends BaseBean implements Serializable {
@ApiParam("缓存类型")
private String cachaType;
@Column(name = "PART_NO")
@ApiParam("物料号")
private String partNo;
}

@ -0,0 +1,48 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/3/18 7:33
* @Modify:
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_ENCODE_RULE_MAP")
@Api("MES_编码规则映射表")
public class MesEncodeRuleMap extends BaseBean implements Serializable {
private static final long serialVersionUID = 4668354179377433538L;
@Column(name = "TYPE_CODE")
@ApiParam("编码类型代码")
private String typeCode;
@Column(name = "TYPE_NAME")
@ApiParam("编码类型名称")
private String typeName;
@Column(name = "BUSINESS_CODE")
@ApiParam("业务代码")
private String businessCode;
@Column(name = "BUSINESS_VALUE")
@ApiParam("业务值")
private String businessValue;
}

@ -0,0 +1,88 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
/**
* @Description :MES_
* @Reference :
* @Author : jessica.chen
* @CreateDate : 2020-03-19
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_EQUIPMENT_TOOLING")
@Api("MES_设备工装关系")
public class MesEquipmentTooling extends BaseBean implements Serializable {
private static final long serialVersionUID = 1947971369479107711L;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;
@Column(name = "TOOLING_NO")
@ApiParam("工装编号")
private String toolingNo;
@Column(name = "TOOLING_CODE")
@ApiParam("工装代码")
private String toolingCode ;
@Column(name = "TOOLING_NAME")
@ApiParam("工装名称")
private String toolingName;
@Column(name = "TOOLING_TYPE")
@ApiParam("工装类型")
private Integer toolingType;
@Column(name = "USE_COUNT")
@ApiParam("使用次数")
private Integer useCount;
@Column(name = "START_TIME")
@ApiParam("更换开始时间")
private String startTime;
@Column(name = "END_TIME")
@ApiParam("更换结束时间")
private String endTime;
@Transient
@ApiParam("最大次数")
private Integer useCountMax;
public Integer getToolingType() {
return this.toolingType == null ? 0 : this.toolingType;
}
public Integer getUseCount() {
return this.useCount == null ? 0 : this.useCount;
}
public MesEquipmentTooling(){
}
public MesEquipmentTooling(MesTooling tooling, Integer useCount) {
this.toolingCode = tooling.getToolingCode();
this.toolingName = tooling.getToolingName();
this.useCount = useCount;
this.useCountMax = tooling.getUseCountMax();
}
}

@ -41,4 +41,12 @@ public class MesFaultPhenomenon extends BaseBean implements Serializable {
@Column(name = "PARENT_FP_CODE")
@ApiParam("父阶现象代码")
private String parentFpCode;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;
@Column(name = "FP_TYPE")
@ApiParam("故障现象类型")
private Integer fpType;
}

@ -55,9 +55,9 @@ public class MesKpData extends BaseBean implements Serializable {
@ApiParam("数据下限")
private Double lowerLimit;
@Column(name = "TERMINAL_ID")
@Column(name = "WORK_CELL_CODE")
@ApiParam("工位")
private Integer terminalId;
private String workCellCode;
@Column(name = "TORQUE_GROUP")
@ApiParam("扭矩组")
@ -79,6 +79,10 @@ public class MesKpData extends BaseBean implements Serializable {
@ApiParam("JOB_ID")
private Integer jobId;
@Column(name = "LAST_TIGHTENING_ID")
@ApiParam("最后一次扭矩id")
private Long lastTighteningId;
@Transient
@ApiParam("扭矩值")
private Double torqueValue;

@ -42,6 +42,9 @@ public class MesLabelTemplate extends BaseBean implements Serializable {
@ApiParam(value = "模板内容")
private String templateContent;
@ApiParam(value = "第二个模板内容")
private String otherTemplateContent;
// 参数拼接,多参数都好分隔,后台在做处理
@ApiParam(value = "模板参数拼接")
@Transient

@ -0,0 +1,59 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-04-02
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PART_CHECK")
@Api("物料校验项")
public class MesPartCheck extends BaseBean implements Serializable {
private static final long serialVersionUID = -7706120594398072630L;
@Column(name = "PART_NO")
@ApiParam("物料号")
private String partNo;
@Column(name = "OBJECT_CODE")
@ApiParam("对象代码")
private String objectCode;
@Column(name = "CHECK_SPEL_EXPRESS")
@ApiParam("校验表达式")
private String checkSpelExpress;
@Column(name = "TYPE_SPEL_EXPRESS")
@ApiParam("类型表达式")
private String typeSpelExpress;
@Column(name = "RECORD_NUM_SPEL_EXPRESS")
@ApiParam("记录数量表达式")
private String recordNumSpelExpress;
@Column(name = "RECORD_NUM_DESC")
@ApiParam("校验表达式")
private String recordNumDesc;
}

@ -127,5 +127,9 @@ public class MesPlc extends BaseBean implements Serializable {
@Transient
@ApiParam("OPC值")
private List opcValue;
private String opcValue;
@Column(name = "TOOLING_CODE ")
@ApiParam("工装代码")
private String toolingCode;
}

@ -29,8 +29,6 @@ import java.io.Serializable;
@Index(columnList = "KP_SN"),
@Index(columnList = "CREATE_DATE_TIME"),
@Index(columnList = "ITEM_PART_NO")
}, uniqueConstraints = {
@UniqueConstraint(columnNames = {"ORGANIZE_CODE", "SERIAL_NUMBER", "KP_SN"})
})
@Api("产品绑定记录表")
public class MesProdBindRecord extends BaseBean implements Serializable {

@ -42,4 +42,8 @@ public class MesProdCfg extends BaseBean implements Serializable {
@Column(name = "PROD_CFG_Type_CODE")
@ApiParam("产品配置类型代码")
private String prodCfgTypeCode;
@Column(name = "PROD_CFG_TYPE")
@ApiParam("产品配置类型")
private String prodCfgType;
}

@ -13,7 +13,6 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
/**
* @Description :
@ -113,7 +112,7 @@ public class MesProductData extends BaseBean implements Serializable {
@Lob
@Column(name = "LINE_DATA")
@ApiParam("生产数据")
private List lineData;
private String lineData;
@Lob
@Transient

@ -33,6 +33,7 @@ public class MesQueueJitActual extends BaseBean implements Serializable {
private static final long serialVersionUID = 655875369308810110L;
@Column(name = "JIS_ACTUAL_NO")
@ApiParam("队列编号")
private String jisActualNo;

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
/**
@ -47,6 +48,10 @@ public class MesQueueJitActualDetail extends BaseBean implements Serializable {
@ApiParam("产品位置代码")
private String produceCtgyCode;
@Transient
@ApiParam("产品位置")
private String prodCfgName;
@Column(name = "PART_NAME")
@ApiParam("产品名称")
private String partName;
@ -58,4 +63,16 @@ public class MesQueueJitActualDetail extends BaseBean implements Serializable {
@Column(name = "GROUP_NO")
@ApiParam("组内编号")
private Integer groupNo;
@Column(name = "GROUP_SEQ")
@ApiParam("分组序号")
private String groupSeq;
@Column(name = "status")
@ApiParam("状态")
private Integer status;
@Column(name = "seq")
@ApiParam("主序编号")
private String seq;
}

@ -76,7 +76,7 @@ public class MesQueueOrderDetail extends BaseBean implements Serializable {
@ApiParam("产品类型名称")
private String pptCode;
@Column(name = "QUEUE_GROUP_NO")
@Column(name = "QUEUE_GROUP_NO")
@ApiParam("分组队列编号")
private String queueGroupNo;
@ -84,10 +84,18 @@ public class MesQueueOrderDetail extends BaseBean implements Serializable {
@ApiParam("组内编号")
private Integer groupNo;
@Column(name = "IS_GROUP_PRINTED")
@ApiParam("料架是否已打印")
private Integer isGroupPrinted;
@Transient
@ApiParam("队列序号")
private Double queueSeq;
@Column(name = "FINSIH_QTY")
@ApiParam("已生产数量")
private Double finsihQty;
public double getQueueSeqVal() {
return this.queueSeq == null ? 0.0d : this.queueSeq;
}

@ -0,0 +1,78 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @author Wynne.Lu
* @date 2020/2/12 17:41
* @desc
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "MES_ROUTE_STATUS")
@EqualsAndHashCode(callSuper = true)
@Api("流程状态")
public class MesRouteStatus extends BaseBean implements Serializable {
private static final long serialVersionUID = 4988786372428896721L;
@Column(name = "ROUTE_CODE")
@ApiParam("流程代码")
private String routeCode;
@Column(name = "STATUS_CODE")
@ApiParam("状态代码")
private String statusCode;
@Column(name = "STATUS_NAME")
@ApiParam("状态名称")
private String statusName;
@Column(name = "NEXT_STATUS")
@ApiParam("下一状态")
private String nextStatus;
@Column(name = "TRIGGER_TYPE")
@ApiParam("触发类型")
private Integer triggerType;
@Column(name = "TRIGGER_EVENT")
@ApiParam("触发事件")
private String triggerEvent;
@Column(name = "TRIGGER_WHERE")
@ApiParam("触发条件MVEL")
private String triggerWhere;
@Column(name = "ACTION_AMG_ID")
@ApiParam("触发调用")
private Long actionAmgId;
@Column(name = "IN_AMG_ID")
@ApiParam("进入状态调用")
private Long inAmgId;
@Column(name = "OUT_AMG_ID")
@ApiParam("离开状态调用")
private Long outAmgId;
@Column(name = "STATUS_TYPE")
@ApiParam("状态类型")
private Integer statusType;
}

@ -0,0 +1,45 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :
* @Reference :
* @Author : zcg
* @Date : 2020/3/18 0018 - 9:02
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_SN_PHOTO_RELATION")
@Api("条码照片关系")
public class MesSnPhotoRelation extends BaseBean implements Serializable {
private static final long serialVersionUID = -3062206473345277360L;
@Column(name = "SERIAL_NUMBER")
@ApiParam("条码")
private String serialNumber;
@Column(name = "PHOTO_PATH")
@ApiParam("照片路径")
private String photoPath;
@Column(name = "PHOTO_NAME")
@ApiParam("照片名称")
private String photoName;
}

@ -78,6 +78,10 @@ public class MesStationBom extends BaseBean implements Serializable {
@ApiParam(value = "是否绑定关键件")
private Integer isBindKey;
@Column(name = "MATCH_RULE")
@ApiParam(value = "匹配规则")
private Integer matchRule;
@Transient
@ApiParam("是否已绑定")
private Boolean isBind;
@ -114,6 +118,14 @@ public class MesStationBom extends BaseBean implements Serializable {
@ApiParam(value = "是否绑定关键件名称")
private String isBindKeyName;
@Transient
@ApiParam("是否扫描")
private Boolean isScan = false;
@Transient
@ApiParam("半成品条码")
private String halfProductSn;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}

@ -0,0 +1,52 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :MES
* @Reference :
* @Author : qianhuasheng
* @CreateDate : 2020-03-19
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_TOOLING")
@Api("MES工装类型")
public class MesTooling extends BaseBean implements Serializable {
private static final long serialVersionUID = -5033127912658757665L;
@Column(name = "TOOLING_CODE ")
@ApiParam("工装代码")
private String toolingCode ;
@Column(name = "TOOLING_NAME")
@ApiParam("工装名称")
private String toolingName;
@Column(name = "TOOLING_TYPE")
@ApiParam("工装类型")
private Integer toolingType;
@Column(name = "USE_COUNT_MAX")
@ApiParam("最大使用次数")
private Integer useCountMax;
@Column(name = "USE_TIME_MAX")
@ApiParam("最大使用时间")
private String useTimeMax;
}

@ -0,0 +1,79 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :MES_
* @Reference :
* @Author : jessica.chen
* @CreateDate : 2020-03-20
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_TOOLING_ACTION_RECORD")
@Api("MES_工装操作记录")
public class MesToolingActionRecord extends BaseBean implements Serializable {
private static final long serialVersionUID = 1947971369479107712L;
@Column(name = "TOOLING_NO")
@ApiParam("工装编号")
private String toolingNo;
@Column(name = "ACTION_TYPE")
@ApiParam("操作类型")
private Integer actionType;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;
@Column(name = "TOOLING_CODE")
@ApiParam("工装代码")
private String toolingCode ;
@Column(name = "TOOLING_NAME")
@ApiParam("工装名称")
private String toolingName;
@Column(name = "TOOLING_TYPE")
@ApiParam("工装类型")
private Integer toolingType;
@Column(name = "USE_COUNT")
@ApiParam("使用次数")
private Integer useCount;
@Column(name = "START_TIME")
@ApiParam("更换开始时间")
private String startTime;
@Column(name = "END_TIME")
@ApiParam("更换结束时间")
private String endTime;
public Integer getToolingType() {
return this.toolingType == null ? 0 : this.toolingType;
}
public Integer getUseCount() {
return this.useCount == null ? 0 : this.useCount;
}
}

@ -15,7 +15,7 @@ import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :
* @Description :
* @Reference :
* @Author :QianHuaSheng
* @CreateDate : 2020-03-12 7:45

@ -0,0 +1,89 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-05-22 17:58
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_WORK_CELL_POINT_GROUP")
@Api("工站分组队列")
public class MesWorkCellPointGroup extends BaseBean implements Serializable {
private static final long serialVersionUID = -6817903235638554748L;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元代码")
private String workCellCode;
@Column(name = "QUEUE_GROUP_NO")
@ApiParam("分组队列编号")
private String queueGroupNo;
@Column(name = "GROUP_NO")
@ApiParam("组内编号")
private Integer groupNo;
@Column(name = "ORDER_NO")
@ApiParam("主队列编号")
private String orderNo;
@Column(name = "QUEUE_SEQ")
@ApiParam("队列主表序号")
private Double queueSeq;
@Column(name = "QUEUE_DETAIL_SEQ")
@ApiParam("队列明细表序号")
private Double queueDetailSeq;
@Column(name = "PART_NO")
@ApiParam("物料号")
private String partNo;
@Column(name = "PART_NAME_RDD")
@ApiParam("物料名称")
private String partNameRdd;
@Column(name = "STATUS")
@ApiParam("状态")
private Integer status;
@Column(name = "SERIAL_NUMBER")
@ApiParam("过程条码")
private String serialNumber;
@Transient
@ApiParam("显示颜色")
private String color;
public double getQueueSeqVal() {
return this.queueSeq == null ? 0 : this.queueSeq;
}
public double getQueueDetailSeqVal() {
return this.queueDetailSeq == null ? 0 : this.queueDetailSeq;
}
}

@ -51,5 +51,9 @@ public class MesWorkModule extends BaseBean implements Serializable {
@ApiParam("触发类型")
private Integer triggerType;
@Column(name = "SEQ")
@ApiParam("顺序号")
private Integer seq;
}

@ -0,0 +1,35 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/3/17 3:47
* @Modify:
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ButtonDynamicModel {
private Long id;
@ApiParam("按钮名称")
private String buttonName;
@ApiParam("按钮代码")
private String buttonCode;
@ApiParam("调用类")
private String callClass;
public ButtonDynamicModel(Long id, String buttonName, String buttonCode) {
this.id = id;
this.buttonName = buttonName;
this.buttonCode = buttonCode;
}
}

@ -0,0 +1,29 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Api("数据复核model")
public class DataReviewStepModel {
@ApiParam("关键件")
private String itemPartNo;
@ApiParam("需要数量")
private String needNum;
@ApiParam("实际数量")
private String realNum;
@ApiParam("对象代码")
private String objectCode;
}

@ -0,0 +1,88 @@
package cn.estsh.i3plus.pojo.mes.model;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.mes.annotation.ElasticSearch;
import cn.estsh.i3plus.pojo.mes.annotation.Json4Es;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.ArrayList;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/3/20 5:51
* @Modify:
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ElasticSearch
public class EsProductDataModule extends BaseBean implements Serializable {
private static final long serialVersionUID = 4514407617515827040L;
@ApiParam("工作中心")
private String workCenterCode;
@ApiParam("工作中心名称")
private String workCenterName;
@ApiParam("工作单元")
private String workCellCode;
@ApiParam("工作单元名称")
private String workCellName;
@ApiParam("过程条码")
private String serialNumber;
@ApiParam("产品条码")
private String productSn;
@ApiParam("工单号")
private String orderNo;
@ApiParam("物料号")
private String partNo;
@ApiParam("物料名称")
private String partDesc;
@ApiParam("设备代码")
private String equCode;
@ApiParam("设备名称")
private String equName;
@ApiParam("对象代码")
private String objectCode;
@ApiParam("对象名称")
private String objectName;
@ApiParam("字段代码")
private String fieldCode;
@ApiParam("字段名称")
private String fieldName;
@ApiParam("字段值")
private String fieldValue;
@ApiParam("数据行号")
private String rowNo;
@ApiParam("数据组号")
private String groupNo;
@Json4Es
@ApiParam("生产数据")
private ArrayList<ProductDataModel> lineData;
@ApiParam("字段总数")
private Integer fieldNum;
}

@ -0,0 +1,24 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Api("生产数据缓存model")
public class ProductDataCacheModel {
@ApiParam("对象代码")
private String objectCode;
@ApiParam("字段名称")
private List<ProductDataModel> productDataModelList;
}

@ -0,0 +1,37 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/3/20 9:02
* @Modify:
*/
@Data
public class QueueJitActualModule {
private Long id;
@ApiParam("vin")
private String vinCode;
@ApiParam("排序号")
private Double seq;
@ApiParam("分组队列编号")
private String queueGroupNo;
@ApiParam("组内编号")
private Integer groupNo;
public QueueJitActualModule() {
}
public QueueJitActualModule(Long id, String vinCode, Double seq, String queueGroupNo, Integer groupNo) {
this.id = id;
this.vinCode = vinCode;
this.seq = seq;
this.queueGroupNo = queueGroupNo;
this.groupNo = groupNo;
}
}

@ -49,6 +49,28 @@ public class QueueOrderModel implements Serializable {
private String workCenterCode;
@ApiParam("工位")
private String workCellCode;
@ApiParam("队列类型")
private Integer queueType;
@ApiParam("已生产数量")
private Double finsihQty;
@ApiParam("包装数量")
private Double qty;
@ApiParam("生产组代码")
private String pgCode;
@ApiParam("分组队列编号")
private String queueGroupNo;
@ApiParam("组内编号")
private Integer groupNo;
@ApiParam("产品配置代码")
private String prodCfgCode;
@ApiParam("是否已扫描")
private int isScan;
@ApiParam("队列编号")
private String orderNo;
public QueueOrderModel() {
}
@ -68,6 +90,23 @@ public class QueueOrderModel implements Serializable {
}
public QueueOrderModel(Long id, Double queueSeq, Double queDetailSeq, String custFlagNo, String prodCfgNameRdd, String categoryNameRdd,
String serialNumber, String partNo, String partNameRdd, Integer snStatus, String workType,Double finsihQty,Double qty) {
this.id = id;
this.queueSeq = queueSeq;
this.queDetailSeq = queDetailSeq;
this.custFlagNo = custFlagNo;
this.prodCfgNameRdd = prodCfgNameRdd;
this.categoryNameRdd = categoryNameRdd;
this.serialNumber = serialNumber;
this.partNo = partNo;
this.partNameRdd = partNameRdd;
this.snStatus = snStatus;
this.workType = workType;
this.finsihQty=finsihQty;
this.qty=qty;
}
public QueueOrderModel(Long id, Double queueSeq, Double queDetailSeq, String custFlagNo, String prodCfgNameRdd, String categoryNameRdd,
String serialNumber, String partNo, String partNameRdd, Integer snStatus, String workType) {
this.id = id;
this.queueSeq = queueSeq;
@ -81,4 +120,25 @@ public class QueueOrderModel implements Serializable {
this.snStatus = snStatus;
this.workType = workType;
}
public QueueOrderModel(Long id, Double queDetailSeq, String pgCode, String queueGroupNo, Integer groupNo, String prodCfgCode) {
this.id = id;
this.queDetailSeq = queDetailSeq;
this.pgCode = pgCode;
this.queueGroupNo = queueGroupNo;
this.groupNo = groupNo;
this.prodCfgCode = prodCfgCode;
}
public QueueOrderModel(String queueGroupNo, Integer groupNo, String orderNo,
Double queueSeq, Double queDetailSeq, String partNo, String partNameRdd, String organizeCode) {
this.queueGroupNo = queueGroupNo;
this.groupNo = groupNo;
this.orderNo = orderNo;
this.queueSeq = queueSeq;
this.queDetailSeq = queDetailSeq;
this.partNo = partNo;
this.partNameRdd = partNameRdd;
this.organizeCode = organizeCode;
}
}

@ -0,0 +1,42 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
/**
* @Description : JITModel
* @Reference :
* @Author : qianhuasheng
* @CreateDate : 2019-05-22 16:34
* @Modify:
**/
@Data
@Api("JIT发运队列列表Model")
public class QueueShippingModel implements Serializable {
private Long id;
@ApiParam("显示颜色")
private String color;
@ApiParam("队列编号")
private String jisActualNo;
@ApiParam("产品位置代码")
private String produceCtgyCode;
@ApiParam("产品位置")
private String prodCfgName;
@ApiParam("起始vin")
private String vin;
@ApiParam("结束vin")
private String endVin;
@ApiParam("料架号")
private String queueGroupNo;
}

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.mes.model;
import cn.estsh.i3plus.pojo.mes.bean.MesRouteStatus;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.Data;
@ -63,6 +65,8 @@ public class StationRequestBean implements Serializable {
@ApiParam("工步代码")
private String stepCode;
@ApiParam("强制执行工步代码")
private String forceSpecStepCode;
/**
* doScan-doModule-,initModule-
*/
@ -93,9 +97,18 @@ public class StationRequestBean implements Serializable {
@ApiParam("生产主队列编号")
private String orderNo;
@ApiParam("分组队列编号")
private String queueGroupNo;
@ApiParam("数据map")
private Map<String, Object> dataMap;
@ApiParam("流程状态集合")
private List<MesRouteStatus> routeStatusList;
@ApiParam("当前流程状态")
private MesRouteStatus curRouteStatus;
@Override
public String toString() {
return "StationRequestBean{" +

@ -5,6 +5,8 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Transient;
/**
* @Description:
* @Reference:
@ -18,6 +20,9 @@ public class StepPrintSnModel extends MesProduceSn {
@ApiParam("打印描述")
private String printDesc;
@ApiParam(value = "打印时间")
private String printTime;
@ApiParam("条码")
private String barCode;
@ -72,4 +77,28 @@ public class StepPrintSnModel extends MesProduceSn {
@ApiParam("包装层级 1-第一层2-第二层3-第三层4-第四层")
private Integer packLevel;
@ApiParam("生产组代码")
private String pgCode;
@ApiParam("分组队列编号")
private String queueGroupNo;
@ApiParam("组内编号")
private Integer groupNo;
@ApiParam("产品配置代码")
private String prodCfgCode;
@ApiParam("队列生产明细序号")
private Double queDetailSeq;
@ApiParam("vin")
private String vinCode;
@ApiParam("客户JIT生产队列排序号")
private Double seq;
@ApiParam("jit车号")
private String jitCarNo;
@ApiParam("车型代码")
private String carModuleCode;
@ApiParam("上一个序列号")
private Double lastQueDetailSeq;
@ApiParam("包装数量")
private Integer pgCodeNum;
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.IfQueueShipping;
/**
* @Description :IF_JIT
* @Reference :
* @Author : qianhuasheng
* @CreateDate : 2020-03-06 10:57
* @Modify:
**/
public interface IfQueueShippingRepository extends BaseRepository<IfQueueShipping, Long> {
}

@ -0,0 +1,13 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesEncodeRuleMap;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/3/18 7:36
* @Modify:
*/
public interface MesEncodeRuleMapRepository extends BaseRepository<MesEncodeRuleMap, Long> {
}

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentTooling;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesEquipmentToolingRepository extends BaseRepository<MesEquipmentTooling, Long> {
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesPartCheck;
/**
* @Description:
* @Reference:
* @Author: wangjie
* @CreateDate: 2019\11\18 10:34
* @Modify:
**/
public interface MesPartCheckRepository extends BaseRepository<MesPartCheck, Long> {
}

@ -0,0 +1,16 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesShiftRest;
import cn.estsh.i3plus.pojo.mes.bean.MesSnPhotoRelation;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : zcg
* @Date : 2020/3/18 0018 - 9:18
*/
@Repository
public interface MesSnPhotoRelationRepository extends BaseRepository<MesSnPhotoRelation, Long> {
}

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentTooling;
import cn.estsh.i3plus.pojo.mes.bean.MesToolingActionRecord;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesToolingActionRecordRepository extends BaseRepository<MesToolingActionRecord, Long> {
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesTooling;
/**
* @Description :MES
* @Reference :
* @Author : qianhuasheng
* @CreateDate : 2020-03-19
* @Modify:
**/
public interface MesToolingRepository extends BaseRepository<MesTooling, Long> {
}

@ -0,0 +1,16 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellPointGroup;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : dragon.xu
* @CreateDate : 2019-05-29 14:40
* @Modify:
**/
@Repository
public interface MesWorkCellPointGroupRepository extends BaseRepository<MesWorkCellPointGroup, Long> {
}

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -60,6 +60,37 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -31,4 +31,7 @@ public class WmsListSearchModel {
@ApiParam(value = "有效性")
public Integer isValid;
@ApiParam(value = "工厂代码")
public String organizeCode;
}

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,6 +19,37 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,4 +19,36 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -33,6 +33,10 @@ public class PtlMainTask extends BaseBean implements Serializable {
@ApiParam("主任务编号")
private String taskNo;
@Column(name = "ORDER_NO")
@ApiParam("业务单号")
private String orderNo;
@Column(name = "SEQ")
@ApiParam("主任务顺序号")
private Integer seq;

@ -38,9 +38,17 @@ public class PtlMainTaskDetail extends BaseBean implements Serializable {
private String partNo;
@Column(name = "PART_NAME")
@ApiParam("产品物料名称")
@ApiParam("产品物料名称")
private String partName;
@Column(name = "ITEM_PART_NO")
@ApiParam("拣选物料号")
private String itemPartNo;
@Column(name = "ITEM_PART_NAME")
@ApiParam("拣选物料名称")
private String itemPartName;
@Column(name = "QTY")
@ApiParam("数量")
private Integer qty;
@ -49,4 +57,12 @@ public class PtlMainTaskDetail extends BaseBean implements Serializable {
@ApiParam("物料种类")
private Integer partCategory;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元")
private String workCellCode;
}

@ -0,0 +1,91 @@
package cn.estsh.i3plus.pojo.ptl.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
/**
* @Description:
* @Reference:
* @Author: wangjie
* @CreateDate:2019-04-16-17:36
* @Modify:
**/
@Data
@ApiModel("生产队列主表")
public class MesQueueOrder implements Serializable {
private static final long serialVersionUID = -3124113504001270712L;
@ApiParam("主队列编号")
private String orderNo;
@ApiParam("Vin")
private String vinCode;
@ApiParam("客户标识号")
private String custFlagNo;
@ApiParam("产品配置代码")
private String prodCfgCode;
@ApiParam("产品配置名称")
private String prodCfgNameRdd;
@ApiParam("排序")
private Double seq;
@ApiParam("生产工单号")
private String workOrderNo;
@ApiParam("状态")
private Integer status;
@ApiParam("客户产线代码")
private String custProdLineCode;
@ApiParam("区域代码")
private String areaCode;
@ApiParam("锁定标识")
private Integer isLock;
@ApiParam("客户代码")
private String custCode;
@ApiParam("工单类型")
private String workType;
@ApiParam("队列类型")
private Integer queueType;
@ApiParam("生产组代码")
private String pgCode;
@ApiParam(value = "id")
public Long id;
@ApiParam(value ="组织代码")
public String organizeCode;
@ApiParam(value = "有效性")
public Integer isValid;
@ApiParam(value = "是否已删除")
public Integer isDeleted;
@ApiParam(value = "创建用户")
public String createUser;
@ApiParam(value = "创建日期")
public String createDatetime;
@ApiParam(value = "修改人")
public String modifyUser;
@ApiParam(value = "修改日期")
public String modifyDatetime;
}

@ -0,0 +1,90 @@
package cn.estsh.i3plus.pojo.ptl.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
/**
* @Description:
* @Reference:
* @Author: wangjie
* @CreateDate:2019-04-16-17:36
* @Modify:
**/
@Data
@ApiModel("生产队列明细")
public class MesQueueOrderDetail implements Serializable {
private static final long serialVersionUID = 1945173626511595078L;
@ApiParam("主队列编号")
private String orderNo;
@ApiParam("物料号")
private String partNo;
@ApiParam("物料名称")
private String partNameRdd;
@ApiParam("产品条码")
private String serialNumber;
@ApiParam("队列明细序号")
private Double seq;
@ApiParam("数量")
private Double qty;
@ApiParam("状态")
private Integer status;
@ApiParam("生产类型")
private String workType;
@ApiParam("产品类型代码")
private String produceCategoryCode;
@ApiParam("产品类型名称")
private String produceCategoryNameRdd;
@ApiParam("产品类型名称")
private String pptCode;
@ApiParam("分组队列编号")
private String queueGroupNo;
@ApiParam("组内编号")
private Integer groupNo;
@ApiParam("料架是否已打印")
private Integer isGroupPrinted;
@ApiParam("已生产数量")
private Double finsihQty;
@ApiParam(value = "id")
public Long id;
@ApiParam(value ="组织代码")
public String organizeCode;
@ApiParam(value = "有效性")
public Integer isValid;
@ApiParam(value = "是否已删除")
public Integer isDeleted;
@ApiParam(value = "创建用户")
public String createUser;
@ApiParam(value = "创建日期")
public String createDatetime;
@ApiParam(value = "修改人")
public String modifyUser;
@ApiParam(value = "修改日期")
public String modifyDatetime;
}

@ -0,0 +1,83 @@
package cn.estsh.i3plus.pojo.ptl.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-04-02
* @Modify:
**/
@Data
@ApiModel("工位物料清单")
public class MesStationBom implements Serializable {
private static final long serialVersionUID = -2658812944873600461L;
@ApiParam("零件号")
private String partNo;
@ApiParam("产品物料名称")
private String partName;
@ApiParam("工作中心")
private String workCenterCode;
@ApiParam("工作单元")
private String workCellCode;
@ApiParam("子零件")
private String itemPartNo;
@ApiParam("原材料物料名称")
private String itemPartName;
@ApiParam(value = "子零件数量")
private Double qty;
@ApiParam(value = "是否可重复")
private Integer isRepeat;
@ApiParam(value = "是否检查")
private Integer isCheck;
@ApiParam(value = "是否投料配置")
private Integer isFeed;
@ApiParam(value = "是否绑定关键件")
private Integer isBindKey;
@ApiParam(value = "匹配规则")
private Integer matchRule;
@ApiParam(value = "id")
public Long id;
@ApiParam(value ="组织代码")
public String organizeCode;
@ApiParam(value = "有效性")
public Integer isValid;
@ApiParam(value = "是否已删除")
public Integer isDeleted;
@ApiParam(value = "创建用户")
public String createUser;
@ApiParam(value = "创建日期")
public String createDatetime;
@ApiParam(value = "修改人")
public String modifyUser;
@ApiParam(value = "修改日期")
public String modifyDatetime;
}

@ -0,0 +1,15 @@
package cn.estsh.i3plus.pojo.ptl.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.ptl.bean.PtlAreaRouteModuleParam;
/**
* @author Wynne.Lu
* @date 2020/2/12 17:41
* @desc
*/
public interface PtlAreaRouteModuleParamRepository extends BaseRepository<PtlAreaRouteModuleParam, Long> {
}

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -20,4 +20,36 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -20,4 +20,36 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -19,6 +19,37 @@
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -23,6 +23,37 @@
<!--<artifactId>i3plus-platform-common</artifactId>-->
<!--</dependency>-->
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -62,6 +62,10 @@ public class WmsAreaOwner extends BaseBean {
@ApiParam(value = "是否预分配人员")
private Integer isPreAssign;
@Column(name="SHIFT_NO")
@ApiParam("班次编码")
private String shiftNo;
@Transient
@ApiParam(value = "供应商名称")
private String vendorName;
@ -81,4 +85,8 @@ public class WmsAreaOwner extends BaseBean {
@Column(name = "CUST_NO")
@ApiParam(value = "客户编号")
private String custNo;
@Transient
@ApiParam(value = "分配次数")
private Integer count;
}

@ -104,6 +104,10 @@ public class WmsCSOrderMaster extends BaseBean {
public String wmsCSZonesStr;
@Transient
@ApiParam(value = "盘点库存地清单")
public String wmsAreaNosStr;
@Transient
@ApiParam(value = "盘点库位清单")
public String[] wmsCSLocates;
@ -117,4 +121,5 @@ public class WmsCSOrderMaster extends BaseBean {
public Integer getIsInventoryVal() {
return this.isInventory == null ? 0 :this.isInventory.intValue();
}
}

@ -105,7 +105,7 @@ public class WmsDocMovementDetails extends BaseBean {
*/
@Column(name = "ITEM_STATUS")
@ApiParam(value = "状态", example = "1")
@AnnoOutputColumn(refClass = WmsEnumUtil.MASTER_ORDER_STATUS.class, refForeignKey = "value", value = "description")
@AnnoOutputColumn(refClass = WmsEnumUtil.ORDER_DETAILS_STATUS.class, refForeignKey = "value", value = "description")
private Integer itemStatus;
/**

@ -170,6 +170,10 @@ public class WmsDocMovementMaster extends BaseBean {
@AnnoOutputColumn(refClass = WmsEnumUtil.STEP.class, refForeignKey = "value", value = "description")
private Integer isSingleStep;
@Column(name = "ERP_SRC_TYPE",columnDefinition = "varchar(50) default ''")
@ApiParam(value = "QAD发运单据类型")
private String erpSrcType;
@Transient
@ApiParam(value = "发运单号")
private String shipOrderNo;

@ -1,5 +1,6 @@
package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
@ -47,6 +48,7 @@ public class WmsLocate extends BaseBean {
*/
@Column(name = "LOCATE_TYPE")
@ApiParam(value = "库位类型")
@AnnoOutputColumn(refClass = WmsEnumUtil.LOCATE_TYPE.class, refForeignKey = "value", value = "description")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "LOCATE_TYPE")
private Integer locateType;
@ -192,6 +194,14 @@ public class WmsLocate extends BaseBean {
this.destBoxQty = destBoxQty;
}
public WmsLocate(String locateNo,Integer destBoxQty, Integer y, Integer x, Integer z) {
this.locateNo = locateNo;
this.destBoxQty = destBoxQty;
this.y = y;
this.x = x;
this.z = z;
}
public WmsLocate(Integer boxQty , Double partQty,String locateNo){
this.boxQty=boxQty;
this.partQty=partQty;

@ -183,6 +183,11 @@ public class WmsMoveToERP extends BaseBean {
@ApiParam("是否预收货")
public Integer priorRC = 2;
@Column(name = "ERP_SRC_TYPE",columnDefinition = "varchar(50) default ''")
@ApiParam(value = "QAD发运单据类型")
private String erpSrcType;
@ApiParam(value = "待出库数量", example = "0")
@Transient
private Long waitingCounts;

@ -50,7 +50,7 @@ public class WmsPart extends BaseBean {
@Column(name = "PART_TYPE")
@ApiParam(value = "物料类型")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "WMS_PART_TYPE")
@AnnoOutputColumn(refClass = WmsEnumUtil.WMS_PART_TYPE_STR.class, refForeignKey = "value", value = "description")
@AnnoOutputColumn(refClass = WmsEnumUtil.WMS_PART_TYPE_STR.class)
private String partType;
@Column(name = "PART_TYPE_DESC")
@ -75,7 +75,8 @@ public class WmsPart extends BaseBean {
@Column(name = "STOCK_UNIT")
@ApiParam(value = "库存单位")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_URL,
isRequire = 2, entityName = "/wms/wmsUnit/wms-unit/query", listColumnName = "unitCode", explicitColumnName = "unitCode")
private String stockUnit;
@Column(name = "ABC")
@ -85,7 +86,8 @@ public class WmsPart extends BaseBean {
@Column(name = "BUY_UNIT")
@ApiParam(value = "采购单位")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_URL,
isRequire = 2, entityName = "/wms/wmsUnit/wms-unit/query", listColumnName = "unitCode", explicitColumnName = "unitCode")
private String buyUnit;
@Column(name = "BU2SU", columnDefinition = "decimal(18,8)")
@ -95,7 +97,8 @@ public class WmsPart extends BaseBean {
@Column(name = "PRICE_UNIT")
@ApiParam(value = "计价单位")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_URL,
isRequire = 2, entityName = "/wms/wmsUnit/wms-unit/query", listColumnName = "unitCode", explicitColumnName = "unitCode")
private String priceUnit;
@Column(name = "PU2SU", columnDefinition = "decimal(18,8)")
@ -126,12 +129,14 @@ public class WmsPart extends BaseBean {
@Column(name = "PART_GROUP")
@ApiParam(value = "物料组")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_URL,
isRequire = 2, entityName = "/wms/wms-enum/dictionary/code?code=PART_GROUP_RULE", listColumnName = "name", explicitColumnName = "dictionaryValue")
private String partGroup;
@Column(name = "LOT_CHECK_RULE")
@ApiParam(value = "批次校验规则")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_URL,
isRequire = 2, entityName = "/wms/wms-enum/dictionary/code?code=LOT_CHECK_RULE", listColumnName = "name", explicitColumnName = "dictionaryValue")
private String lotCheckRule;
@Column(name = "SN_CONTROL")
@ -146,8 +151,8 @@ public class WmsPart extends BaseBean {
@Column(name = "IN_LOCATE_NO")
@ApiParam(value = "默认入库库位")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.LIST, isRequire = 2,entityName="cn.estsh.i3plus.pojo.wms.bean.WmsLocate",
searchColumnName = "locateNo,locateName",listColumnName = "locateNo,locateName", explicitColumnName = "locateNo")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.LIST, isRequire = 2, entityName = "cn.estsh.i3plus.pojo.wms.bean.WmsLocate",
searchColumnName = "locateNo,locateName", listColumnName = "locateNo,locateName", explicitColumnName = "locateNo")
private String inLocateNo;
@Column(name = "PROD_CFG_TYPE_CODE")
@ -197,7 +202,8 @@ public class WmsPart extends BaseBean {
@Column(name = "PRODUCT_LINES")
@ApiParam("报工产线")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.SINGLE_URL,
isRequire = 2, entityName = "/wms/work-center/list", listColumnName = "workCenterName", explicitColumnName = "workCenterCode")
private String productLines;
@Column(name = "PROPORTION", columnDefinition = "decimal(10,5)")
@ -222,7 +228,7 @@ public class WmsPart extends BaseBean {
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
private String stockLevelStatus;
@Column(name="verb_num")
@Column(name = "verb_num")
@ApiParam(value = "单次拆包数")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Double verbNum;
@ -233,9 +239,10 @@ public class WmsPart extends BaseBean {
private Integer isProdLot = 2;
@Column(name = "PULL_WAY")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, entityName = "PULL_WAY_STATUS")
@ApiParam(value = "拉动方式", example = "0")
private Integer pullWay = 0;
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, selectRule = WmsEnumUtil.DYNAMIC_FIELD_SELECT_RULE.MULTIPLE_ENUM,
isRequire = 2, entityName = "PULL_WAY_STATUS")
@ApiParam(value = "拉动方式")
private String pullWay;
@Column(name = "CYCLE_RQUEST_PERIOD")
@ApiParam(value = "循环补货周期", example = "0")
@ -252,11 +259,11 @@ public class WmsPart extends BaseBean {
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Double curingTime = 0d;
public int getIqcVal(){
public int getIqcVal() {
return this.iqc == null ? 0 : this.iqc.intValue();
}
public int getCycleRquestPeriod(){
public int getCycleRquestPeriod() {
return this.cycleRquestPeriod == null ? 0 : this.cycleRquestPeriod.intValue();
}
@ -264,23 +271,23 @@ public class WmsPart extends BaseBean {
}
public Double getQty() {
return qty == null? 0:qty;
return qty == null ? 0 : qty;
}
public Double getMin() {
return min == null? 0: min;
return min == null ? 0 : min;
}
public Double getMax() {
return max == null? 0:max;
return max == null ? 0 : max;
}
public Double getCycleRquestQty() {
return this.cycleRquestQty == null? 0d:this.cycleRquestQty.doubleValue();
return this.cycleRquestQty == null ? 0d : this.cycleRquestQty.doubleValue();
}
public Double getCuringTime() {
return this.curingTime == null? 0d:this.curingTime.doubleValue();
return this.curingTime == null ? 0d : this.curingTime.doubleValue();
}

@ -119,6 +119,10 @@ public class WmsRoutingRule extends BaseBean {
@ApiParam(value = "目的库位")
private String destMoveType;
@Column(name = "DEST_MOVE_SN_STATUS")
@ApiParam(value = "目的单据条码状态")
private Integer destMoveSnStatus;
public WmsRoutingRule(){}
}

@ -80,6 +80,7 @@ public class WmsSnOperateRecord extends BaseBean {
@Column(name = "ref_sn")
@ApiParam(value = "关联二维码")
private String refSN;
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
private String refSN;
}

@ -43,7 +43,7 @@ public class WmsFieldInfo extends BaseBean {
@Column(name = "FIELD_TYPE")
@ApiParam(value = "字段类型")
private String fieldType;
private Integer fieldType;
@Column(name = "ENUM_NAME")
@ApiParam(value = "字段枚举名称")
@ -77,6 +77,10 @@ public class WmsFieldInfo extends BaseBean {
@ApiParam(value = "是否加粗:默认1-加粗2-非加粗")
private Integer isWider;
@Column(name = "IS_QUERY")
@ApiParam(value = "是否可选作查询条件:默认1-可选2-不可选")
private Integer isQuery;
@Column(name = "IS_SELECT")
@ApiParam(value = "是否勾选:默认1-勾选2-非勾选")
private Integer isSelect;
@ -104,4 +108,8 @@ public class WmsFieldInfo extends BaseBean {
@Column(name = "EXPLICIT_COLUMN_NAME")
@ApiParam(value = "回显列名")
private String explicitColumnName;
@Column(name = "DYNAMIC_FIELD_SELECT_RULE")
@ApiParam(value = "下拉框规则")
private Integer selectRule;
}

@ -81,4 +81,24 @@ public class WmsListElement extends BaseBean {
@Column(name = "FUNCTION_ID")
@ApiParam(value = "功能菜单ID")
private Long functionId;
@Column(name = "FIELD_TYPE")
@ApiParam(value = "字段类型")
private Integer fieldType;
@Column(name = "DYNAMIC_FIELD_SELECT_RULE")
@ApiParam(value = "下拉框规则")
private Integer selectRule;
@Column(name = "ENTITY_NAME")
@ApiParam(value = "实体名称")
private String entityName;
@Column(name = "LIST_COLUMN_NAME")
@ApiParam(value = "开窗列表显示列名称")
private String listColumnName;
@Column(name = "EXPLICIT_COLUMN_NAME")
@ApiParam(value = "回显列名")
private String explicitColumnName;
}

@ -43,7 +43,7 @@ public class WmsSearchElement extends BaseBean {
@Column(name = "FIELD_TYPE")
@ApiParam(value = "字段类型")
private String fieldType;
private Integer fieldType;
@Column(name = "CONDITION_EXPRE")
@ApiParam(value = "条件表达式:>,<,>=等")

@ -63,7 +63,7 @@ public class BasPlugin extends BaseBean{
@Column(name = "COPYRIGHT")
@ApiParam(value = "版权")
private Integer copyRight;
private String copyRight;
@Column(name = "AUTHOR")
@ApiParam(value = "作者")
@ -76,11 +76,14 @@ public class BasPlugin extends BaseBean{
@ApiParam(value = "插件状态", example = "1")
private Integer pluginStatus;
@Column(name = "PLUGIN_DIRECTORY")
@ApiParam(value = "本地插件文件夹")
private String pluginDirectory;
@Column(name = "PLUGIN_PACKAGE_NAME")
@ApiParam(value = "插件项目包名称")
private String pluginPackName;
/**
* 10-PDA20-
*/
@Column(name="PLUGIN_TYPE")
@ApiParam(value = "插件类型", example = "10")
private Integer pluginType;
}

@ -48,4 +48,11 @@ public class GenerateLocateRule {
*
*/
private String partNo;
/**
*
*/
private boolean orderByAxle;
}

@ -0,0 +1,34 @@
package cn.estsh.i3plus.pojo.wms.modelbean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : siliter.yuan
* @CreateDate : 2020-03-23 11:18
* @Modify:
**/
@Data
@AllArgsConstructor
@Api("插件日志")
public class BasPluginLoggerModel {
@ApiParam("插件名称")
private String pluginName;
@ApiParam("插件实例类名称")
private String className;
@ApiParam("插件调用方法名称")
private String methodName;
@ApiParam("插件日志内容")
private String loggerContext;
@ApiParam("日志打印日期")
private String printDate;
}

@ -14,8 +14,6 @@ import lombok.Data;
@Api("未完成订单模型")
public class WmsMoveUnfinishedOrderModel extends BaseBean{
@ApiParam("物料编码")
private String partNo;
@ -26,7 +24,6 @@ public class WmsMoveUnfinishedOrderModel extends BaseBean{
private Double destQty;
@ApiParam("交易类型")
private String transTypeCode;

@ -1908,6 +1908,9 @@ public class WmsHqlPack {
if (!Strings.isNullOrEmpty(wmsTransModule.getTmDesc())) {
DdlPreparedPack.getStringLikerPack(wmsTransModule.getTmDesc(), "tmDesc", packBean);
}
if (wmsTransModule.getId() != null) {
DdlPreparedPack.getNumEqualPack(wmsTransModule.getId(), "id", packBean);
}
if (StringUtils.isNotBlank(wmsTransModule.orderBy())) {
packBean.setOrderByStr(wmsTransModule.orderBy());
}

@ -5,13 +5,44 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>i3plus-pojo-workflow</artifactId>
<packaging>jar</packaging>
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -15,7 +15,7 @@
<groupId>i3plus.pojo</groupId>
<artifactId>i3plus-pojo</artifactId>
<packaging>pom</packaging>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<modules>
<module>modules/i3plus-pojo-base</module>
<module>modules/i3plus-pojo-platform</module>
@ -222,5 +222,36 @@
<!--</plugins>-->
<!--</build>-->
<profiles>
<profile>
<id>dev</id>
<properties>
<profileActive>DEV</profileActive>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<profileActive>TEST</profileActive>
</properties>
</profile>
<profile>
<id>docker</id>
<properties>
<profileActive>DOCKER</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>PROD</profileActive>
</properties>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${profileActive}-${project.version}</finalName>
</build>
</project>

@ -6,7 +6,7 @@ sonar.projectKey=i3plus.pojo:i3plus-pojo
# defaults to project key
sonar.projectName=i3plus-pojo
# defaults to 'not provided'
sonar.projectVersion=1.0-DEV-SNAPSHOT
sonar.projectVersion=1.0-TEST-SNAPSHOT
# Path is relative to the sonar-project.properties file. Defaults to .
#sonar.sources=./

Loading…
Cancel
Save