|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|