|
|
@ -35,14 +35,17 @@ public class WmsPart extends BaseBean {
|
|
|
|
private static final long serialVersionUID = 4849044986767609346L;
|
|
|
|
private static final long serialVersionUID = 4849044986767609346L;
|
|
|
|
@Column(name = "PART_NO")
|
|
|
|
@Column(name = "PART_NO")
|
|
|
|
@ApiParam(value = "物料编码")
|
|
|
|
@ApiParam(value = "物料编码")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String partNo;
|
|
|
|
private String partNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_NAME")
|
|
|
|
@Column(name = "PART_NAME")
|
|
|
|
@ApiParam(value = "物料名称")
|
|
|
|
@ApiParam(value = "物料名称")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String partName;
|
|
|
|
private String partName;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_SPEC")
|
|
|
|
@Column(name = "PART_SPEC")
|
|
|
|
@ApiParam(value = "物料规格")
|
|
|
|
@ApiParam(value = "物料规格")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String partSpec;
|
|
|
|
private String partSpec;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_TYPE")
|
|
|
|
@Column(name = "PART_TYPE")
|
|
|
@ -53,46 +56,57 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_TYPE_DESC")
|
|
|
|
@Column(name = "PART_TYPE_DESC")
|
|
|
|
@ApiParam(value = "物料类型描述")
|
|
|
|
@ApiParam(value = "物料类型描述")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String partTypeDesc;
|
|
|
|
private String partTypeDesc;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "GRAPHI_NO")
|
|
|
|
@Column(name = "GRAPHI_NO")
|
|
|
|
@ApiParam(value = "图号")
|
|
|
|
@ApiParam(value = "图号")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String graphiNo;
|
|
|
|
private String graphiNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "VERSION")
|
|
|
|
@Column(name = "VERSION")
|
|
|
|
@ApiParam(value = "版本")
|
|
|
|
@ApiParam(value = "版本")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String version;
|
|
|
|
private String version;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "COLOR")
|
|
|
|
@Column(name = "COLOR")
|
|
|
|
@ApiParam(value = "颜色")
|
|
|
|
@ApiParam(value = "颜色")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String color;
|
|
|
|
private String color;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "STOCK_UNIT")
|
|
|
|
@Column(name = "STOCK_UNIT")
|
|
|
|
@ApiParam(value = "库存单位")
|
|
|
|
@ApiParam(value = "库存单位")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String stockUnit;
|
|
|
|
private String stockUnit;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "ABC")
|
|
|
|
@Column(name = "ABC")
|
|
|
|
@ApiParam(value = "分类")
|
|
|
|
@ApiParam(value = "分类")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String abc;
|
|
|
|
private String abc;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "BUY_UNIT")
|
|
|
|
@Column(name = "BUY_UNIT")
|
|
|
|
@ApiParam(value = "采购单位")
|
|
|
|
@ApiParam(value = "采购单位")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String buyUnit;
|
|
|
|
private String buyUnit;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "BU2SU", columnDefinition = "decimal(18,8)")
|
|
|
|
@Column(name = "BU2SU", columnDefinition = "decimal(18,8)")
|
|
|
|
@ApiParam(value = "换算率1", example = "1")
|
|
|
|
@ApiParam(value = "换算率1", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double bu2su;
|
|
|
|
private Double bu2su;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PRICE_UNIT")
|
|
|
|
@Column(name = "PRICE_UNIT")
|
|
|
|
@ApiParam(value = "计价单位")
|
|
|
|
@ApiParam(value = "计价单位")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String priceUnit;
|
|
|
|
private String priceUnit;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PU2SU", columnDefinition = "decimal(18,8)")
|
|
|
|
@Column(name = "PU2SU", columnDefinition = "decimal(18,8)")
|
|
|
|
@ApiParam(value = "换算率2", example = "1")
|
|
|
|
@ApiParam(value = "换算率2", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double pu2su;
|
|
|
|
private Double pu2su;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "SNP", columnDefinition = "decimal(18,8)")
|
|
|
|
@Column(name = "SNP", columnDefinition = "decimal(18,8)")
|
|
|
|
@ApiParam(value = "标包", example = "1")
|
|
|
|
@ApiParam(value = "标包", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double snp;
|
|
|
|
private Double snp;
|
|
|
|
|
|
|
|
|
|
|
|
@ColumnDefault("2")
|
|
|
|
@ColumnDefault("2")
|
|
|
@ -103,18 +117,22 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "MIN", columnDefinition = "decimal(18,8)")
|
|
|
|
@Column(name = "MIN", columnDefinition = "decimal(18,8)")
|
|
|
|
@ApiParam(value = "最低库存", example = "1")
|
|
|
|
@ApiParam(value = "最低库存", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double min;
|
|
|
|
private Double min;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "MAX", columnDefinition = "decimal(18,8)")
|
|
|
|
@Column(name = "MAX", columnDefinition = "decimal(18,8)")
|
|
|
|
@ApiParam(value = "最高库存", example = "1")
|
|
|
|
@ApiParam(value = "最高库存", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double max;
|
|
|
|
private Double max;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_GROUP")
|
|
|
|
@Column(name = "PART_GROUP")
|
|
|
|
@ApiParam(value = "物料组")
|
|
|
|
@ApiParam(value = "物料组")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String partGroup;
|
|
|
|
private String partGroup;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "LOT_CHECK_RULE")
|
|
|
|
@Column(name = "LOT_CHECK_RULE")
|
|
|
|
@ApiParam(value = "批次校验规则")
|
|
|
|
@ApiParam(value = "批次校验规则")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String lotCheckRule;
|
|
|
|
private String lotCheckRule;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "SN_CONTROL")
|
|
|
|
@Column(name = "SN_CONTROL")
|
|
|
@ -124,34 +142,42 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "VENDOR_NO")
|
|
|
|
@Column(name = "VENDOR_NO")
|
|
|
|
@ApiParam(value = "供应商代码")
|
|
|
|
@ApiParam(value = "供应商代码")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String vendorNo;
|
|
|
|
private String vendorNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "IN_LOCATE_NO")
|
|
|
|
@Column(name = "IN_LOCATE_NO")
|
|
|
|
@ApiParam(value = "默认入库库位")
|
|
|
|
@ApiParam(value = "默认入库库位")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String inLocateNo;
|
|
|
|
private String inLocateNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PROD_CFG_TYPE_CODE")
|
|
|
|
@Column(name = "PROD_CFG_TYPE_CODE")
|
|
|
|
@ApiParam("项目代码")
|
|
|
|
@ApiParam("项目代码")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String prodCfgTypeCode;
|
|
|
|
private String prodCfgTypeCode;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PROD_CFG_TYPE_NAME")
|
|
|
|
@Column(name = "PROD_CFG_TYPE_NAME")
|
|
|
|
@ApiParam("项目名称")
|
|
|
|
@ApiParam("项目名称")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String prodCfgTypeName;
|
|
|
|
private String prodCfgTypeName;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "OUT_CLOSE_FLAG")
|
|
|
|
@Column(name = "OUT_CLOSE_FLAG")
|
|
|
|
@ApiParam("項目结算标识")
|
|
|
|
@ApiParam("項目结算标识")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String outCloseFlag = "2";
|
|
|
|
private String outCloseFlag = "2";
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "OUT_CLOSE_TYPE")
|
|
|
|
@Column(name = "OUT_CLOSE_TYPE")
|
|
|
|
@ApiParam("结算方式")
|
|
|
|
@ApiParam("结算方式")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String outCloseType;
|
|
|
|
private String outCloseType;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "OUT_CLOSE_VENDOR")
|
|
|
|
@Column(name = "OUT_CLOSE_VENDOR")
|
|
|
|
@ApiParam("结算供应商")
|
|
|
|
@ApiParam("结算供应商")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String outCloseVendor;
|
|
|
|
private String outCloseVendor;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "QUALITY_DAYS")
|
|
|
|
@Column(name = "QUALITY_DAYS")
|
|
|
|
@ApiParam("保质期天数")
|
|
|
|
@ApiParam("保质期天数")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Integer qualityDays;
|
|
|
|
private Integer qualityDays;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_REPORT_PARTNO")
|
|
|
|
@Column(name = "IS_REPORT_PARTNO")
|
|
|
@ -161,18 +187,22 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "REPORT_LOCATE_NO")
|
|
|
|
@Column(name = "REPORT_LOCATE_NO")
|
|
|
|
@ApiParam("报工库位")
|
|
|
|
@ApiParam("报工库位")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String reportLocateNo;
|
|
|
|
private String reportLocateNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "REPORT_ZONE_NO")
|
|
|
|
@Column(name = "REPORT_ZONE_NO")
|
|
|
|
@ApiParam("报工存储区")
|
|
|
|
@ApiParam("报工存储区")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String reportZoneNo;
|
|
|
|
private String reportZoneNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PRODUCT_LINES")
|
|
|
|
@Column(name = "PRODUCT_LINES")
|
|
|
|
@ApiParam("报工产线")
|
|
|
|
@ApiParam("报工产线")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String productLines;
|
|
|
|
private String productLines;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PROPORTION", columnDefinition = "decimal(10,5)")
|
|
|
|
@Column(name = "PROPORTION", columnDefinition = "decimal(10,5)")
|
|
|
|
@ApiParam(value = "待质检比例", example = "1")
|
|
|
|
@ApiParam(value = "待质检比例", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double proportion;
|
|
|
|
private Double proportion;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_VALUABLE", columnDefinition = "int default 2")
|
|
|
|
@Column(name = "IS_VALUABLE", columnDefinition = "int default 2")
|
|
|
@ -183,11 +213,13 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
@Transient
|
|
|
|
@ApiParam("总数量")
|
|
|
|
@ApiParam("总数量")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double qty;
|
|
|
|
private Double qty;
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
@Transient
|
|
|
|
@ApiParam("库存水平")
|
|
|
|
@ApiParam("库存水平")
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.STOCK_LEVEL_STATUS.class, refForeignKey = "value", value = "description")
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.STOCK_LEVEL_STATUS.class, refForeignKey = "value", value = "description")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
private String stockLevelStatus;
|
|
|
|
private String stockLevelStatus;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="verb_num")
|
|
|
|
@Column(name="verb_num")
|
|
|
@ -206,10 +238,12 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "CYCLE_RQUEST_PERIOD")
|
|
|
|
@Column(name = "CYCLE_RQUEST_PERIOD")
|
|
|
|
@ApiParam(value = "循环补货周期", example = "0")
|
|
|
|
@ApiParam(value = "循环补货周期", example = "0")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Integer cycleRquestPeriod = 0;
|
|
|
|
private Integer cycleRquestPeriod = 0;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "CYCLE_RQUEST_QTY")
|
|
|
|
@Column(name = "CYCLE_RQUEST_QTY")
|
|
|
|
@ApiParam(value = "循环补货数量", example = "0")
|
|
|
|
@ApiParam(value = "循环补货数量", example = "0")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
private Double cycleRquestQty = 0d;
|
|
|
|
private Double cycleRquestQty = 0d;
|
|
|
|
|
|
|
|
|
|
|
|
public int getIqcVal(){
|
|
|
|
public int getIqcVal(){
|
|
|
|