|
|
|
@ -5,6 +5,7 @@ import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.util.StringUtil;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
@ -319,7 +320,7 @@ public class WmsDocMovementDetails extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam(value = "订单总数量")
|
|
|
|
|
private Integer itemCount;
|
|
|
|
|
private Long itemCount;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam(value = "完成订单数量")
|
|
|
|
@ -380,6 +381,7 @@ public class WmsDocMovementDetails extends BaseBean {
|
|
|
|
|
@ApiParam(value = "最早需求时间")
|
|
|
|
|
private String firstTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getRecommondLot() {
|
|
|
|
|
return recommondLot == null ? "无" : this.recommondLot;
|
|
|
|
|
}
|
|
|
|
@ -412,6 +414,13 @@ public class WmsDocMovementDetails extends BaseBean {
|
|
|
|
|
return orderMasterStatus == null ? 0 : this.orderMasterStatus.intValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getLine() {
|
|
|
|
|
if (StringUtil.isEmpty(this.line)) {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
return this.line;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Version
|
|
|
|
|
@Column(name = "LOCK_VERSION", columnDefinition = "int default 0")
|
|
|
|
|
@ApiParam(value = "乐观锁", example = "1")
|
|
|
|
@ -470,16 +479,28 @@ public class WmsDocMovementDetails extends BaseBean {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public WmsDocMovementDetails (String createDatetime, String srcZoneNo,String srcLocateNo, String destLocateNo, String createUser,Integer itemStatus,String orderNo,String partNo) {
|
|
|
|
|
System.out.println("=======参数方法");
|
|
|
|
|
public WmsDocMovementDetails (String createDatetime, String srcZoneNo, String srcLocateNo, String destLocateNo, String createUser, Integer itemStatus, String orderNo, String partNo) {
|
|
|
|
|
this.createDatetime = createDatetime;
|
|
|
|
|
this.srcLocateNo = srcLocateNo;
|
|
|
|
|
this.destLocateNo = destLocateNo;
|
|
|
|
|
this.createUser = createUser;
|
|
|
|
|
this.itemStatus= itemStatus;
|
|
|
|
|
this.orderNo = orderNo;
|
|
|
|
|
this.srcZoneNo = srcZoneNo;
|
|
|
|
|
this.partNo=partNo;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public WmsDocMovementDetails(String createDatetime, String srcZoneNo, String srcLocateNo, String destLocateNo, String createUser, Integer itemStatus, String orderNo, String planTime, Long itemCount) {
|
|
|
|
|
this.createDatetime = createDatetime;
|
|
|
|
|
this.srcZoneNo = srcZoneNo;
|
|
|
|
|
this.srcLocateNo = srcLocateNo;
|
|
|
|
|
this.destLocateNo = destLocateNo;
|
|
|
|
|
this.createUser = createUser;
|
|
|
|
|
this.itemStatus = itemStatus;
|
|
|
|
|
this.orderNo = orderNo;
|
|
|
|
|
this.planTime = planTime;
|
|
|
|
|
this.itemCount = itemCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsDocMovementDetails (String orderNo, String srcZoneNo, String destZoneNo, String destLocateNo) {
|
|
|
|
@ -620,4 +641,33 @@ public WmsDocMovementDetails (String partNo,String orderNo) {
|
|
|
|
|
this.planTime = planTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsDocMovementDetails (String erpSrcNo,String orderNo,String projectNo,Double qty,Double pickQty,
|
|
|
|
|
String planDate,String planTime,String custNo,String partNo,Integer itemStatus ) {
|
|
|
|
|
this.orderNo = orderNo;
|
|
|
|
|
this.qty = qty;
|
|
|
|
|
this.pickQty = pickQty;
|
|
|
|
|
this.projectNo = projectNo;
|
|
|
|
|
this.erpSrcNo = erpSrcNo;
|
|
|
|
|
this.planDate = planDate;
|
|
|
|
|
this.planTime = planTime;
|
|
|
|
|
this.custNo = custNo;
|
|
|
|
|
this.partNo = partNo;
|
|
|
|
|
this.itemStatus = itemStatus;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WmsDocMovementDetails (String orderNo,String projectNo,Double qty,Double pickQty,
|
|
|
|
|
String planDate,String planTime,String custNo,String partNo,Integer itemStatus ) {
|
|
|
|
|
this.orderNo = orderNo;
|
|
|
|
|
this.qty = qty;
|
|
|
|
|
this.pickQty = pickQty;
|
|
|
|
|
this.projectNo = projectNo;
|
|
|
|
|
this.planDate = planDate;
|
|
|
|
|
this.planTime = planTime;
|
|
|
|
|
this.custNo = custNo;
|
|
|
|
|
this.partNo = partNo;
|
|
|
|
|
this.itemStatus = itemStatus;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|