Fix bug#12607

yun-zuoyi
puxiao.liao 4 years ago
parent 84785f44b6
commit 8eb1831861

@ -9163,11 +9163,11 @@ public class WmsEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum RC_BOARD_STATUS {
FINISH(10, "已完成(绿色)"),
OVER_TIME(20, "已超时(红色)"),
UNRECEIVED(30, "未收货(蓝色)"),
VARIANT(40, "有差异(黄色)"),
NORMAL(50, "正常(白色)");
FINISH(10, "已完成"),//绿色
OVER_TIME(20, "已超时"),//红色
UNRECEIVED(30, "未收货"),//蓝色
VARIANT(40, "有差异"),//黄色
NORMAL(50, "正常");//白色
private int value;
private String description;

@ -9,14 +9,19 @@ import cn.estsh.i3plus.pojo.base.util.StringUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Version;
/**
* @Description :()
@ -387,6 +392,12 @@ public class WmsDocMovementDetails extends BaseBean {
@ApiParam(value = "目的库位名称")
public String destLocateName;
@Transient
@ApiParam("报废类型")
@AnnoOutputColumn(refClass = WmsEnumUtil.SCRAP_TYPE.class, refForeignKey = "value", value = "description")
public Integer scrapType;
public String getRecommondLot() {
return recommondLot == null ? "无" : this.recommondLot;
@ -740,9 +751,9 @@ public WmsDocMovementDetails (String partNo,String orderNo) {
this.destLocateName = locateName;
}
public WmsDocMovementDetails(String organizeCode, String workOrderCode, String orderNo,Integer moveType, Integer busiType,
String item, String partNo, String partNameRdd,String unit, Double qty,
Integer isSn, Integer orderMasterStatus,String createUser, String createDatetime) {
public WmsDocMovementDetails(String organizeCode, String workOrderCode, String orderNo, Integer moveType, Integer busiType,
String item, String partNo, String partNameRdd, String unit, Double qty,
Integer isSn, Integer orderMasterStatus, String createUser, String createDatetime) {
this.organizeCode = organizeCode;
this.workOrderCode = workOrderCode;
this.orderNo = orderNo;
@ -758,4 +769,19 @@ public WmsDocMovementDetails (String partNo,String orderNo) {
this.createUser = createUser;
this.createDatetime = createDatetime;
}
public WmsDocMovementDetails(String orderNo, String partNo, String custPartNo, String srcZoneNo, String destZoneNo, String destLocateNo, Double qty, Double pickQty, String createDatetime, Integer orderStatus, String createUser) {
this.orderNo = orderNo;
this.partNo = partNo;
this.custPartNo = custPartNo;
this.srcZoneNo = srcZoneNo;
this.destZoneNo = destZoneNo;
this.destLocateNo = destLocateNo;
this.qty = qty;
this.pickQty = pickQty;
this.createDatetime = createDatetime;
this.orderStatus = orderStatus;
this.createUser = createUser;
}
}

Loading…
Cancel
Save