From b5e4bbec339bf3858338deece026a20bc40b8923 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 06 五月 2025 15:45:32 +0800 Subject: [PATCH] no message --- rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrderItem.java | 96 +++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 87 insertions(+), 9 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrderItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrderItem.java index c37b9ed..f896cf4 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrderItem.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrderItem.java @@ -5,6 +5,7 @@ import java.text.SimpleDateFormat; import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.experimental.Accessors; import org.springframework.format.annotation.DateTimeFormat; @@ -23,7 +24,6 @@ public class AsnOrderItem implements Serializable { private static final long serialVersionUID = 1L; - /** * ID */ @@ -56,6 +56,10 @@ @ApiModelProperty("瀛楁绱㈠紩") private String fieldsIndex; + + @ApiModelProperty("鎵ц鏁伴噺") + private Double workQty; + /** * ASN鍗曞彿 */ @@ -75,16 +79,34 @@ private String poCode; /** + * 璺熻釜鐮� + */ + @ApiModelProperty("璺熻釜鐮�") + private String trackCode; + + /** * 鐗╂枡鏍囪瘑 */ @ApiModelProperty(value= "鐗╂枡鏍囪瘑") - private String matnrId; + private Long matnrId; + + /** + * 鐗╂枡缂栫爜 + */ + @ApiModelProperty(value = "鐗╂枡缂栫爜") + private String matnrCode; /** * 鐗╂枡鍚嶇О */ @ApiModelProperty(value= "鐗╂枡鍚嶇О") - private String matnk; + private String maktx; + + @ApiModelProperty("瑙勬牸") + private String spec; + + @ApiModelProperty("鍨嬪彿") + private String model; /** * 閫佽揣鏁伴噺 @@ -105,6 +127,11 @@ private Double purQty; /** + * 搴撳瓨鎵规 + */ + @ApiModelProperty("搴撳瓨鎵规") + private String batch; + /** * 閲囪喘鍗曚綅 */ @ApiModelProperty(value= "閲囪喘鍗曚綅") @@ -115,6 +142,12 @@ */ @ApiModelProperty(value= "宸叉敹鏁伴噺") private Double qty; + + /** + * 鐢熶骇鏃ユ湡 + */ + @ApiModelProperty("鐢熶骇鏃ユ湡") + private String prodTime; /** * 渚涘簲鍟嗙紪鐮� @@ -152,17 +185,40 @@ @ApiModelProperty(value= "鍖呰鍚嶇О") private String packName; + @ApiModelProperty("涓婃姤鐘舵�� 0: 鏈笂鎶�, 1: 宸蹭笂鎶�") + private Integer ntyStatus; + /** - * 鐘舵�� 1: 姝e父 0: 鍐荤粨 + * 璐ㄦ缁撴灉 + */ + @ApiModelProperty("璐ㄦ缁撴灉") + private Short isptResult; + + /** + * 璐ㄦ鐘舵�� + */ + @ApiModelProperty("璐ㄦ鐘舵��") + private Short isptStatus; + + + @ApiModelProperty("鍚堟牸鏁伴噺") + @TableField(exist = false) + private Double safeQty; + + @ApiModelProperty("涓嶅悎鏍兼暟閲�") + @TableField(exist = false) + private Double disQty; + + /** + * 鐘舵�� 1: 姝e父 0: 鍐荤粨 */ @ApiModelProperty(value= "鐘舵�� 1: 姝e父 0: 鍐荤粨 ") private Integer status; /** - * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚� + * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚� */ @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄� 0: 鍚� ") - @TableLogic private Integer deleted; /** @@ -182,6 +238,7 @@ */ @ApiModelProperty(value= "娣诲姞鏃堕棿") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date createTime; /** @@ -195,6 +252,7 @@ */ @ApiModelProperty(value= "淇敼鏃堕棿") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date updateTime; /** @@ -202,21 +260,23 @@ */ @ApiModelProperty(value= "澶囨敞") private String memo; - +// public AsnOrderItem() {} - public AsnOrderItem(Long asnId,String asnCode,Long poDetlId,String poCode,String matnrId,String matnk,Double anfme,String stockUnit,Double purQty,String purUnit,Double qty,String splrCode,String splrName,String qrcode,String barcode,String packName,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { + public AsnOrderItem(Long asnId,String asnCode,Long poDetlId, String matnrCode, String poCode,Long matnrId,String matnk,Double anfme,String stockUnit,Double purQty,String purUnit,Double qty,String splrCode,String splrName,String qrcode,String barcode,String packName,Integer status, Integer ntyStatus,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { this.asnId = asnId; this.asnCode = asnCode; this.poDetlId = poDetlId; + this.matnrCode = matnrCode; this.poCode = poCode; this.matnrId = matnrId; - this.matnk = matnk; + this.maktx = matnk; this.anfme = anfme; this.stockUnit = stockUnit; this.purQty = purQty; this.purUnit = purUnit; this.qty = qty; + this.ntyStatus = ntyStatus; this.splrCode = splrCode; this.splrName = splrName; this.qrcode = qrcode; @@ -317,4 +377,22 @@ } } + public String getIsptResult$(){ + if (null == this.isptResult){ return null; } + switch (this.isptResult){ + case 0: + return "鏈"; + case 1: + return "鍚堟牸"; + case 2: + return "涓嶅悎鏍�"; + case 3: + return "寰呭畾"; + case 4: + return "閮ㄥ垎鍚堟牸"; + default: + return ""; + } + } + } -- Gitblit v1.9.1