|
|
|
@ -56,170 +56,170 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_TYPE_DESC")
|
|
|
|
|
@ApiParam(value = "物料类型描述")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String partTypeDesc;
|
|
|
|
|
|
|
|
|
|
@Column(name = "GRAPHI_NO")
|
|
|
|
|
@ApiParam(value = "图号")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String graphiNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "VERSION")
|
|
|
|
|
@ApiParam(value = "版本")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String version;
|
|
|
|
|
|
|
|
|
|
@Column(name = "COLOR")
|
|
|
|
|
@ApiParam(value = "颜色")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String color;
|
|
|
|
|
|
|
|
|
|
@Column(name = "STOCK_UNIT")
|
|
|
|
|
@ApiParam(value = "库存单位")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String stockUnit;
|
|
|
|
|
|
|
|
|
|
@Column(name = "ABC")
|
|
|
|
|
@ApiParam(value = "分类")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String abc;
|
|
|
|
|
|
|
|
|
|
@Column(name = "BUY_UNIT")
|
|
|
|
|
@ApiParam(value = "采购单位")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String buyUnit;
|
|
|
|
|
|
|
|
|
|
@Column(name = "BU2SU", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "换算率1", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double bu2su;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PRICE_UNIT")
|
|
|
|
|
@ApiParam(value = "计价单位")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String priceUnit;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PU2SU", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "换算率2", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double pu2su;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SNP", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "标包", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double snp;
|
|
|
|
|
|
|
|
|
|
@ColumnDefault("2")
|
|
|
|
|
@Column(name = "IQC")
|
|
|
|
|
@ApiParam(value = "是否免检", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
private Integer iqc;
|
|
|
|
|
|
|
|
|
|
@Column(name = "MIN", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "最低库存", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double min;
|
|
|
|
|
|
|
|
|
|
@Column(name = "MAX", columnDefinition = "decimal(18,8)")
|
|
|
|
|
@ApiParam(value = "最高库存", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double max;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_GROUP")
|
|
|
|
|
@ApiParam(value = "物料组")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String partGroup;
|
|
|
|
|
|
|
|
|
|
@Column(name = "LOT_CHECK_RULE")
|
|
|
|
|
@ApiParam(value = "批次校验规则")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String lotCheckRule;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SN_CONTROL")
|
|
|
|
|
@ApiParam(value = "是否条码管理", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
private Integer snControl;
|
|
|
|
|
|
|
|
|
|
@Column(name = "VENDOR_NO")
|
|
|
|
|
@ApiParam(value = "供应商代码")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String vendorNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "IN_LOCATE_NO")
|
|
|
|
|
@ApiParam(value = "默认入库库位")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String inLocateNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PROD_CFG_TYPE_CODE")
|
|
|
|
|
@ApiParam("项目代码")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String prodCfgTypeCode;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PROD_CFG_TYPE_NAME")
|
|
|
|
|
@ApiParam("项目名称")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String prodCfgTypeName;
|
|
|
|
|
|
|
|
|
|
@Column(name = "OUT_CLOSE_FLAG")
|
|
|
|
|
@ApiParam("項目结算标识")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String outCloseFlag = "2";
|
|
|
|
|
|
|
|
|
|
@Column(name = "OUT_CLOSE_TYPE")
|
|
|
|
|
@ApiParam("结算方式")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String outCloseType;
|
|
|
|
|
|
|
|
|
|
@Column(name = "OUT_CLOSE_VENDOR")
|
|
|
|
|
@ApiParam("结算供应商")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String outCloseVendor;
|
|
|
|
|
|
|
|
|
|
@Column(name = "QUALITY_DAYS")
|
|
|
|
|
@ApiParam("保质期天数")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Integer qualityDays;
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_REPORT_PARTNO")
|
|
|
|
|
@ApiParam("是否报工零件")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
private Integer isReportPartNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "REPORT_LOCATE_NO")
|
|
|
|
|
@ApiParam("报工库位")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String reportLocateNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "REPORT_ZONE_NO")
|
|
|
|
|
@ApiParam("报工存储区")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String reportZoneNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PRODUCT_LINES")
|
|
|
|
|
@ApiParam("报工产线")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String productLines;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PROPORTION", columnDefinition = "decimal(10,5)")
|
|
|
|
|
@ApiParam(value = "待质检比例", example = "1")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double proportion;
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_VALUABLE", columnDefinition = "int default 2")
|
|
|
|
|
@ApiParam(value = "是否贵重")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.IS_VALUABLE.class, refForeignKey = "value", value = "description")
|
|
|
|
|
private Integer isValuable;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("总数量")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double qty;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("库存水平")
|
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.STOCK_LEVEL_STATUS.class, refForeignKey = "value", value = "description")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
|
|
|
|
|
private String stockLevelStatus;
|
|
|
|
|
|
|
|
|
|
@Column(name="verb_num")
|
|
|
|
@ -227,23 +227,23 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
private Double verbNum;
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_PROD_LOT")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
@ApiParam(value = "是否录入生产批次", example = "1")
|
|
|
|
|
private Integer isProdLot = 2;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PULL_WAY")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
@ApiParam(value = "拉动方式", example = "0")
|
|
|
|
|
private Integer pullWay = 0;
|
|
|
|
|
|
|
|
|
|
@Column(name = "CYCLE_RQUEST_PERIOD")
|
|
|
|
|
@ApiParam(value = "循环补货周期", example = "0")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Integer cycleRquestPeriod = 0;
|
|
|
|
|
|
|
|
|
|
@Column(name = "CYCLE_RQUEST_QTY")
|
|
|
|
|
@ApiParam(value = "循环补货数量", example = "0")
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double cycleRquestQty = 0d;
|
|
|
|
|
|
|
|
|
|
public int getIqcVal(){
|
|
|
|
|