Merge branch 'dev' of i3-IMPP/i3plus-pojo into test

yun-zuoyi
陆卫豪 6 years ago committed by nancy.li
commit 37f8b19226

@ -1349,7 +1349,8 @@ public class WmsEnumUtil {
INVENTORY(20, "已盘"), INVENTORY(20, "已盘"),
FROZEN(30, "已冻结"), FROZEN(30, "已冻结"),
THAWING(40, "已解冻"), THAWING(40, "已解冻"),
RETURN_GOODS(50, "取消冻结"); RETURN_GOODS(50, "取消冻结"),
Unsettled_(60, "取消冻结");
private int value; private int value;
private String description; private String description;

@ -99,7 +99,7 @@ public class WmsCSOrderDetails extends BaseBean {
public Integer destSnStatus; public Integer destSnStatus;
/** /**
* :10=,20=,30=,40=,50= * :10=,20=,30=,40=,50= 60-
*/ */
@Column(name = "TRANS_STATUS") @Column(name = "TRANS_STATUS")
@ApiParam(value = "处理状态", example = "1") @ApiParam(value = "处理状态", example = "1")

@ -204,7 +204,7 @@ public class WmsPart extends BaseBean {
@ApiParam(value = "循环补货数量", example = "0") @ApiParam(value = "循环补货数量", example = "0")
private Double cycleRquestQty = 0d; private Double cycleRquestQty = 0d;
public int getIqcValue(){ public int getIqcVal(){
return this.iqc == null ? 0 : this.iqc.intValue(); return this.iqc == null ? 0 : this.iqc.intValue();
} }

@ -79,49 +79,40 @@ public class WmsStockQuan extends BaseBean {
private WmsLocate wmsLocate; private WmsLocate wmsLocate;
@Column(name = "QTY", columnDefinition = "decimal(18,8)") @Column(name = "QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "可用数量")
@ApiParam(value = "可用数量", example = "0")
public Double qty; public Double qty;
@Column(name = "FAIL_QTY", columnDefinition = "decimal(18,8)") @Column(name = "FAIL_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "不合格数量")
@ApiParam(value = "不合格数量", example = "0")
private Double failQty; private Double failQty;
@Column(name = "HOLD_QTY", columnDefinition = "decimal(18,8)") @Column(name = "HOLD_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "隔离数量")
@ApiParam(value = "隔离数量", example = "0")
private Double holdQty; private Double holdQty;
@Column(name = "QC_QTY", columnDefinition = "decimal(18,8)") @Column(name = "QC_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "质检中数量")
@ApiParam(value = "质检中数量", example = "0")
private Double qcQty; private Double qcQty;
@Column(name = "RIN_QTY", columnDefinition = "decimal(18,8)") @Column(name = "RIN_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "待入库数量")
@ApiParam(value = "待入库数量", example = "0")
private Double rinQty; private Double rinQty;
@Column(name = "FREEZE_QTY", columnDefinition = "decimal(18,8)") @Column(name = "FREEZE_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "冻结数量")
@ApiParam(value = "冻结数量", example = "0")
private Double freezeQty; private Double freezeQty;
@Column(name = "CONSIGN_QTY", columnDefinition = "decimal(18,8)") @Column(name = "CONSIGN_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "寄售数量")
@ApiParam(value = "寄售数量", example = "0")
private Double consignQty; private Double consignQty;
@Column(name = "LOCK_QTY", columnDefinition = "decimal(18,8)") @Column(name = "LOCK_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "锁定数量")
@ApiParam(value = "锁定数量", example = "0")
private Double lockQty; private Double lockQty;
@Column(name = "SCRAP_QTY", columnDefinition = "decimal(18,8)") @Column(name = "SCRAP_QTY", columnDefinition = "decimal(18,8) default 0")
@ColumnDefault("0") @ApiParam(value = "报废数量")
@ApiParam(value = "报废数量", example = "0")
private Double scrapQty; private Double scrapQty;
@Transient @Transient

@ -58,7 +58,7 @@ public class WmsTransType extends BaseBean {
private String transTypeDesc; private String transTypeDesc;
@Column(name = "TM_ID") @Column(name = "TM_ID")
@ApiParam(value = "交易处理组件", example = "-1") @ApiParam(value = "交易处理组件")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long tmId; private Long tmId;
@ -73,4 +73,8 @@ public class WmsTransType extends BaseBean {
public String getMenuUrl() { public String getMenuUrl() {
return "/handle?transTypeCode=" + this.transTypeCode; return "/handle?transTypeCode=" + this.transTypeCode;
} }
public long getTmIdVal() {
return this.tmId == null ? 0 : this.tmId;
}
} }

Loading…
Cancel
Save