From d3234825d804a6a205dba1c6092acc8e29981b81 Mon Sep 17 00:00:00 2001 From: lfd <1> Date: 星期四, 06 三月 2025 10:11:23 +0800 Subject: [PATCH] # --- src/main/java/com/zy/ints/entity/ErpDetTb.java | 64 ++++++++++++++++++++++++++++---- 1 files changed, 56 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/zy/ints/entity/ErpDetTb.java b/src/main/java/com/zy/ints/entity/ErpDetTb.java index 5486cfa..2ba895b 100644 --- a/src/main/java/com/zy/ints/entity/ErpDetTb.java +++ b/src/main/java/com/zy/ints/entity/ErpDetTb.java @@ -14,17 +14,17 @@ import java.util.Date; @Data -@TableName("erp_det_tb") +@TableName("ERP_DETTB") public class ErpDetTb implements Serializable { private static final long serialVersionUID = 1L; /** - * 鍗曟嵁鍙风爜 + * 鍗曟嵁鍙风爜 涓婚敭 */ @ApiModelProperty(value = "鍗曟嵁鍙风爜") - @TableId(value = "bill_no", type = IdType.INPUT) - @TableField("bill_no") + @TableId(value = "BIL_NO", type = IdType.INPUT) + @TableField("BIL_NO") private String billNo; /** @@ -32,7 +32,7 @@ */ @ApiModelProperty(value = "鍝佸彿") @TableId(value = "prd_no", type = IdType.INPUT) - @TableField("prd_no") + @TableField("PRD_NO") private String prdNo; /** @@ -51,13 +51,17 @@ * 澧炲噺绗﹀彿:1锛堝姞锛屽叆搴擄級銆�2锛堝噺锛屽嚭搴擄級 */ @ApiModelProperty(value = "澧炲噺绗﹀彿:1锛堝姞锛屽叆搴擄級銆�2锛堝噺锛屽嚭搴擄級") - @TableField("add_id") private String addId; + + @ApiModelProperty(value = "澧炲噺绗﹀彿:1锛堝姞锛屽叆搴擄級銆�2锛堝噺锛屽嚭搴擄級") + @TableField("ADD_ID") + private Integer addId2; /** * 鏁伴噺 */ @ApiModelProperty(value = "鏁伴噺") + @TableField("QTY") private Double qty; /** @@ -65,13 +69,14 @@ */ @ApiModelProperty(value = "璐у搧鐗瑰緛") @TableId(value = "prd_mark", type = IdType.INPUT) - @TableField("prd_mark") + @TableField("PRD_MARK") private String prdMark; /** * 浠撳簱 */ @ApiModelProperty(value = "浠撳簱") + @TableField("WH") private String wh; /** @@ -79,40 +84,69 @@ */ @ApiModelProperty(value = "鏃ユ湡") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @TableField("BIL_DATE") private Date billdate; /** * 鐘舵��:0锛堝垵濮嬬姸鎬侊級銆�1锛堝凡鎺ユ敹锛夈��2锛堝紓甯革級 */ @ApiModelProperty(value = "鐘舵��:0锛堝垵濮嬬姸鎬侊級銆�1锛堝凡鎺ユ敹锛夈��2锛堝紓甯革級") + @TableField("STATUS") private Integer status; + + /** + * 琛屽彿 涓婚敭 + */ + @ApiModelProperty(value = "鐘舵��:0锛堝垵濮嬬姸鎬侊級銆�1锛堝凡鎺ユ敹锛夈��2锛堝紓甯革級") + @TableField("ITM") + private Integer itm; /** * 澶囩敤瀛楁1 */ @ApiModelProperty(value = "澶囩敤瀛楁1") + @TableField("Temp1") private String temp1; /** * 澶囩敤瀛楁2 */ @ApiModelProperty(value = "澶囩敤瀛楁2") + @TableField("Temp2") private String temp2; /** * 澶囩敤瀛楁3 */ @ApiModelProperty(value = "澶囩敤瀛楁3") + @TableField("Temp3") private String temp3; public ErpDetTb() { } - public ErpDetTb(String billNo, String prdNo, String iokindid, String addId, Double qty, String prdMark, String wh, Date billdate, Integer status, String temp1, String temp2, String temp3) { + public ErpDetTb(String billNo, String prdNo, String iokindid, int itm, Integer addId2, String addId, Double qty, String prdMark, String wh, Date billdate, Integer status, String temp1, String temp2, String temp3) { this.billNo = billNo; this.prdNo = prdNo; this.iokindid = iokindid; + this.itm = itm; + this.addId2 = addId2; this.addId = addId; + this.qty = qty; + this.prdMark = prdMark; + this.wh = wh; + this.billdate = billdate; + this.status = status; + this.temp1 = temp1; + this.temp2 = temp2; + this.temp3 = temp3; + } + + public ErpDetTb(String billNo, String prdNo, int itm, Integer addId2, Double qty, String prdMark, String wh, Date billdate, Integer status, String temp1, String temp2, String temp3) { + this.billNo = billNo; + this.prdNo = prdNo; + this.itm = itm; + this.addId2 = addId2; this.qty = qty; this.prdMark = prdMark; this.wh = wh; @@ -166,4 +200,18 @@ } } + public String getStatus$(){ + if (null == this.status){ return null; } + switch (this.status){ + case 0: + return "0(鍒濆鐘舵��)"; + case 1: + return "1(宸叉帴鏀�)"; + case 2: + return "2(寮傚父)"; + default: + return String.valueOf(this.status); + } + } + } -- Gitblit v1.9.1