From 4a655363927ba4c189b34072cffd3351eadf00fb Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期六, 17 八月 2024 08:33:01 +0800 Subject: [PATCH] 将错误单据跳过 --- src/main/java/com/zy/third/lk/entity/InDetTB.java | 197 ++++++++++++------------------------------------ 1 files changed, 50 insertions(+), 147 deletions(-) diff --git a/src/main/java/com/zy/third/lk/entity/InDetTB.java b/src/main/java/com/zy/third/lk/entity/InDetTB.java index d74bfc9..7b3dc23 100644 --- a/src/main/java/com/zy/third/lk/entity/InDetTB.java +++ b/src/main/java/com/zy/third/lk/entity/InDetTB.java @@ -1,7 +1,8 @@ package com.zy.third.lk.entity; import com.baomidou.mybatisplus.annotations.TableField; -import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty; +import com.core.common.Cools; +import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import io.swagger.annotations.ApiModelProperty; @@ -12,8 +13,10 @@ import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty; + import java.text.SimpleDateFormat; import java.util.Date; + import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; @@ -25,6 +28,7 @@ import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableName; + import java.io.Serializable; @NoArgsConstructor @@ -36,48 +40,48 @@ private static final long serialVersionUID = 1L; - @TableId(value = "AutoId",type = IdType.AUTO) - private Integer autoId; + @TableId(value = "AutoId", type = IdType.AUTO) + private Integer AutoId; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("BillNo") private String BillNo; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("iNo") private Integer iNO; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("DetId") private Integer detId; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("ItemId") - private String itemid; + private String ItemId; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("ItemCode") private String ItemCode; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("ItemBatch") private String ItemBatch; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("proType") private String protype; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("OrderNo") private String OrderNo; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("MainNum") private Double MainNum; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("remark") private String remark; @@ -87,156 +91,55 @@ @TableField("WareName") private String wareName; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") private String temp1; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") private String temp2; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") private String temp3; - @ApiModelProperty(value= "") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("MakeDate") private Date makedate; + /** + * + */ + @TableField("FactArea") + private String FactArea; + /** + * 渚涘簲鍟哱瀹㈡埛ID + */ + @TableField("Packing") + private String Packing; + /** + * 棰滆壊 + */ + @TableField("sColor") + private String sColor; -// InDetTB inDetTB = new InDetTB( -// null, // [闈炵┖] -// null, // [闈炵┖] -// null, // [闈炵┖] -// null, // [闈炵┖] -// null, // -// null, // -// null, // -// null, // [闈炵┖] -// null, // -// null, // -// null, // -// null, // -// null, // -// null // -// ); + /** + * 鐐夊彿\瀹㈡埛鍥惧彿 + */ + @TableField("LuHao") + private String LuHao; - public String getBillNo() { - return BillNo; - } + /** + * 宸ュ崟鍙� + */ + @TableField("sPgNO") + private String sPgNO; - public void setBillNo(String BillNo) { - this.BillNo = BillNo; - } - public Integer getINO() { - return iNO; - } - - public void setINO(Integer iNO) { - this.iNO = iNO; - } - - public Integer getDetId() { - return detId; - } - - public void setDetId(Integer detId) { - this.detId = detId; - } - - public String getItemid() { - return itemid; - } - - public void setItemid(String itemid) { - this.itemid = itemid; - } - - public String getItemCode() { - return ItemCode; - } - - public void setItemCode(String ItemCode) { - this.ItemCode = ItemCode; - } - - public String getItemBatch() { - return ItemBatch; - } - - public void setItemBatch(String ItemBatch) { - this.ItemBatch = ItemBatch; - } - - public String getProtype() { - return protype; - } - - public void setProtype(String protype) { - this.protype = protype; - } - - public Double getMainNum() { - return MainNum; - } - - public void setMainNum(Double MainNum) { - this.MainNum = MainNum; - } - - public String getOrderNo() { - return OrderNo; - } - - public void setOrderNo(String OrderNo) { - this.OrderNo = OrderNo; - } - - public Date getMakedate() { - return makedate; - } - - public String getMakedate$(){ - if (Cools.isEmpty(this.makedate)){ + public String getMakedate$() { + if (Cools.isEmpty(this.makedate)) { return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.makedate); - } - - public void setMakedate(Date makedate) { - this.makedate = makedate; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getTemp1() { - return temp1; - } - - public void setTemp1(String temp1) { - this.temp1 = temp1; - } - - public String getTemp2() { - return temp2; - } - - public void setTemp2(String temp2) { - this.temp2 = temp2; - } - - public String getTemp3() { - return temp3; - } - - public void setTemp3(String temp3) { - this.temp3 = temp3; } -- Gitblit v1.9.1