修改波次规则和范围枚举类字段值名称

yun-zuoyi
袁津哲 5 years ago
parent ae1c6ef8fd
commit 9f918b6664

@ -5357,24 +5357,36 @@ public class WmsEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WAVE_MERGE_RULE { public enum WAVE_MERGE_RULE {
IS_SAME_CUSTOMER("同客户", "isSameCustomer", "2", 10), IS_SAME_CUSTOMER("同客户", "isSameCustomer", "2", 10,
IS_SAME_WAREHOUSE("同仓库", "isSameWareHouse", "2", 10), 0, "isSameCustomer", "同客户"),
IS_SAME_PRIORITY("同优先级", "isSamePriority", "1", 10), IS_SAME_WAREHOUSE("同仓库", "isSameWareHouse", "2", 10,
IS_SAME_SRC_ZONE("同来源存储区", "isSameSrcZone", "2", 10), 0, "isSameWareHouse", "同仓库"),
IS_SAME_DEST_ZONE("同目标存储区", "isSameDestZone", "2", 10), IS_SAME_PRIORITY("同优先级", "isSamePriority", "1", 10,
IS_SAME_PART("同物料", "isSamePart", "2", 10), 0, "isSamePriority", "同优先级"),
IS_SAME_PART_GROUP("同物料组", "isSamePartGroup", "2", 10), IS_SAME_SRC_ZONE("同来源存储区", "isSameSrcZone", "2", 10,
IS_SAME_DELIVERY_TIME("同发货时间", "isSameDeliveryTime", "2", 10), 0, "isSameSrcZone", "同来源存储区"),
IS_SAME_BUSI_TYPE("同业务类型", "isSameBusiType", "1", 10), IS_SAME_DEST_ZONE("同目标存储区", "isSameDestZone", "2", 10,
IS_SAME_ORDER_STATUS("同单据状态", "isSameOrderStatus", "1", 10), 0, "isSameDestZone", "同目标存储区"),
IS_CROSS_AREA("允许跨区", "isCrossArea", "2", 10), IS_SAME_PART("同物料", "isSamePart", "2", 10,
IS_COLLECTION("物料整箱归集", "isCollection", "2", 10); 0, "isSamePart", "同物料"),
IS_SAME_PART_GROUP("同物料组", "isSamePartGroup", "2", 10,
private String chName; 0, "isSamePartGroup", "同物料组"),
IS_SAME_DELIVERY_TIME("同发货时间", "isSameDeliveryTime", "2", 10,
private String enName; 0, "isSameDeliveryTime", "同发货时间"),
IS_SAME_BUSI_TYPE("同业务类型", "isSameBusiType", "1", 10,
private int waveMergeType; 0, "isSameBusiType", "同业务类型"),
IS_SAME_ORDER_STATUS("同单据状态", "isSameOrderStatus", "1", 10,
0, "isSameOrderStatus", "同单据状态"),
IS_CROSS_AREA("允许跨区", "isCrossArea", "2", 10,
0, "isCrossArea", "允许跨区"),
IS_COLLECTION("物料整箱归集", "isCollection", "2", 10,
0, "isCollection", "物料整箱归集");
private String fieldChName;
private String fieldEnName;
private int mergeOperatorType;
private String fieldValue; private String fieldValue;
@ -5384,27 +5396,31 @@ public class WmsEnumUtil {
private String description; private String description;
WAVE_MERGE_RULE(String chName, String enName, String fieldValue, int waveMergeType) { WAVE_MERGE_RULE(String fieldChName, String fieldEnName, String fieldValue, int mergeOperatorType, int value,
this.chName = chName; String code, String description) {
this.enName = enName; this.fieldChName = fieldChName;
this.fieldEnName = fieldEnName;
this.fieldValue = fieldValue; this.fieldValue = fieldValue;
this.waveMergeType = waveMergeType; this.mergeOperatorType = mergeOperatorType;
this.value = value;
this.description = description;
this.code = code;
} }
public String getChName() { public String getFieldChName() {
return chName; return fieldChName;
} }
public String getEnName() { public String getFieldEnName() {
return enName; return fieldEnName;
} }
public String getFieldValue() { public String getFieldValue() {
return fieldValue; return fieldValue;
} }
public int getWaveMergeType() { public int getMergeOperatorType() {
return waveMergeType; return mergeOperatorType;
} }
public String getDescription() { public String getDescription() {
@ -5427,33 +5443,34 @@ public class WmsEnumUtil {
public enum WAVE_MERGE_RANGE { public enum WAVE_MERGE_RANGE {
CUST_NO("客户代码", "custNo", "cn.estsh.i3plus.pojo.wms.bean.BasCustomer", CUST_NO("客户代码", "custNo", "cn.estsh.i3plus.pojo.wms.bean.BasCustomer",
"custNo,custName", "custNo,custName", "custNo", "custNo,custName", "custNo,custName", "custNo",
20, ""), 20, "", "custNo", 0, "客户代码"),
WAREHOUSE_CODE("仓库代码", "srcWhNo", "cn.estsh.i3plus.pojo.wms.bean.WareHouse", WAREHOUSE_CODE("仓库代码", "srcWhNo", "cn.estsh.i3plus.pojo.wms.bean.WareHouse",
"code,name", "code,name", "code", "code,name", "code,name", "code",
20, ""), 20, "", "srcWhNo", 0, "仓库代码"),
PRIORITY("优先级", "priority", "PRIORITY_NEW", "", PRIORITY("优先级", "priority", "PRIORITY_NEW", "",
"", "", 20, ""), "", "", 20, "",
"priority", 0, "优先级"),
SRC_ZONE_NO("来源存储区代码", "srcZoneNo", "cn.estsh.i3plus.pojo.wms.bean.WmsZones", SRC_ZONE_NO("来源存储区代码", "srcZoneNo", "cn.estsh.i3plus.pojo.wms.bean.WmsZones",
"zoneNo,zoneName", "zoneNo", "zoneNo", "zoneNo,zoneName", "zoneNo", "zoneNo",
20, ""), 20, "", "srcZoneNo", 0, "来源存储区代码"),
DEST_ZONE_NO("目标存储区代码", "destZoneNo", "cn.estsh.i3plus.pojo.wms.bean.WmsZones", DEST_ZONE_NO("目标存储区代码", "destZoneNo", "cn.estsh.i3plus.pojo.wms.bean.WmsZones",
"zoneNo,zoneName", "zoneNo", "zoneNo", "zoneNo,zoneName", "zoneNo", "zoneNo",
20, ""), 20, "", "destZoneNo", 0, "目标存储区代码"),
PART_NO("物料号", "partNo", "cn.estsh.i3plus.pojo.wms.bean.WmsPart", PART_NO("物料号", "partNo", "cn.estsh.i3plus.pojo.wms.bean.WmsPart",
"partNo,partName", "partNo", "partNo", "partNo,partName", "partNo", "partNo",
20, ""), 20, "", "partNo", 0, "物料号"),
PART_GROUP_NO("物料组代码", "partGroupNo", "cn.estsh.i3plus.pojo.wms.bean.WmsPartGroup", PART_GROUP_NO("物料组代码", "partGroupNo", "cn.estsh.i3plus.pojo.wms.bean.WmsPartGroup",
"partGroupNo,partGroupName", "partGroupNo", "partGroupNo,partGroupName", "partGroupNo",
"partGroupNo", 20, ""), "partGroupNo", 20, "", "partGroupNo", 0, "物料组代码"),
BUSI_TYPE("业务类型", "busiType", "OUT_MOVEMENT_BUSI_TYPE", "", BUSI_TYPE("业务类型", "busiType", "OUT_MOVEMENT_BUSI_TYPE", "",
"", "", 20, ""), "", "", 20, "", "busiType", 0, "业务类型"),
ORDER_STATUS("单据状态", "orderStatus", "MASTER_ORDER_STATUS", "", ORDER_STATUS("单据状态", "orderStatus", "MASTER_ORDER_STATUS", "",
"", "", 20, ""); "", "", 20, "", "orderStatus", 0, "单据状态");
// 中文名称 // 中文名称
String chName; String fieldChName;
// 英文名称 // 英文名称
String enName; String fieldEnName;
// 下拉枚举名称 // 下拉枚举名称
String entityName; String entityName;
// 下拉列表显示列名称,多个列名需要根据逗号分隔 // 下拉列表显示列名称,多个列名需要根据逗号分隔
@ -5463,7 +5480,7 @@ public class WmsEnumUtil {
// 回显列名 // 回显列名
String explicitColumnName; String explicitColumnName;
// 合并操作类型 // 合并操作类型
private int waveMergeType; private int mergeOperatorType;
private String fieldValue; private String fieldValue;
@ -5473,24 +5490,28 @@ public class WmsEnumUtil {
private String description; private String description;
WAVE_MERGE_RANGE(String chName, String enName, String entityName, String listColumnName, WAVE_MERGE_RANGE(String fieldChName, String fieldEnName, String entityName, String listColumnName,
String searchColumnName, String explicitColumnName, int waveMergeType, String fieldValue) { String searchColumnName, String explicitColumnName, int mergeOperatorType, String fieldValue,
this.chName = chName; String code, int value, String description) {
this.enName = enName; this.fieldChName = fieldChName;
this.fieldEnName = fieldEnName;
this.entityName = entityName; this.entityName = entityName;
this.listColumnName = listColumnName; this.listColumnName = listColumnName;
this.searchColumnName = searchColumnName; this.searchColumnName = searchColumnName;
this.explicitColumnName = explicitColumnName; this.explicitColumnName = explicitColumnName;
this.waveMergeType = waveMergeType; this.mergeOperatorType = mergeOperatorType;
this.fieldValue = fieldValue; this.fieldValue = fieldValue;
this.code = code;
this.value = value;
this.description = description;
} }
public String getChName() { public String getFieldEnName() {
return chName; return fieldEnName;
} }
public String getEnName() { public String getFieldChName() {
return enName; return fieldChName;
} }
public String getEntityName() { public String getEntityName() {
@ -5509,8 +5530,8 @@ public class WmsEnumUtil {
return explicitColumnName; return explicitColumnName;
} }
public int getWaveMergeType() { public int getMergeOperatorType() {
return waveMergeType; return mergeOperatorType;
} }
public String getFieldValue() { public String getFieldValue() {
@ -5522,7 +5543,7 @@ public class WmsEnumUtil {
} }
public String getDescription() { public String getDescription() {
return description; return "description";
} }
public String getCode() { public String getCode() {

Loading…
Cancel
Save