Merge branch 'dev' into test

yun-zuoyi
peter.pan 6 years ago
commit b18d393fe0

@ -2505,7 +2505,7 @@ public class WmsEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WMS_PART_TYPE {
RAW_MATERIAL(1, "原材料"), PARTIALLY_PREPARED_PRODUCTS(2, "半成品"), FINISHED_PRODUCT(3, "成品");
RAW_MATERIAL(10, "原材料"), PARTIALLY_PREPARED_PRODUCTS(20, "半成品"), FINISHED_PRODUCT(30, "成品");
private int value;
private String description;

@ -99,8 +99,16 @@ public class WmsCSFactTrans extends BaseBean {
@ApiParam("源仓库编号")
public String srcWhNo;
@Column
@ApiParam("是否范围内")
public Integer isScope;
public WmsCSFactTrans(){}
public Integer getIsScopeVal() {
return isScope== null ? 0 : this.isScope.intValue();
}
public WmsCSFactTrans(Double factQty, String partNo){
if(factQty == null) {
this.factQty = 0d;
@ -109,4 +117,20 @@ public class WmsCSFactTrans extends BaseBean {
}
this.partNo = partNo;
}
public WmsCSFactTrans(String orderNo, String whNo, String zoneNo, String locateNo,Double factQty, String partNo, String partNameRdd, String sn, Double qty, String unit, String srcLocateNo, String srcZoneNo, String srcWhNo) {
this.orderNo = orderNo;
this.whNo = whNo;
this.zoneNo = zoneNo;
this.locateNo = locateNo;
this.factQty = factQty;
this.partNo = partNo;
this.partNameRdd = partNameRdd;
this.sn = sn;
this.qty = qty;
this.unit = unit;
this.srcLocateNo = srcLocateNo;
this.srcZoneNo = srcZoneNo;
this.srcWhNo = srcWhNo;
}
}

Loading…
Cancel
Save