From d7cbe984b51fb8fa509890809aa75e6416168249 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期一, 19 八月 2024 08:20:49 +0800 Subject: [PATCH] 1 --- src/main/java/com/zy/third/lk/entity/InHedTB.java | 148 ++++++++++--------------------------------------- 1 files changed, 31 insertions(+), 117 deletions(-) diff --git a/src/main/java/com/zy/third/lk/entity/InHedTB.java b/src/main/java/com/zy/third/lk/entity/InHedTB.java index c46d034..e239035 100644 --- a/src/main/java/com/zy/third/lk/entity/InHedTB.java +++ b/src/main/java/com/zy/third/lk/entity/InHedTB.java @@ -1,14 +1,17 @@ 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; 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; @@ -20,6 +23,7 @@ import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableName; + import java.io.Serializable; @NoArgsConstructor @@ -30,27 +34,26 @@ 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 = "") @TableId(value = "BillNo", type = IdType.INPUT) @TableField("BillNo") private String BillNo; @TableField("BillDate") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date billDate; /** * StockIn:閲囪喘鍏ュ簱 -ProductIn:OutHedTB -ItemMoveIn:璋冩嫧鍏ュ簱 -ItemSwitchIn:褰㈡�佽浆鎹㈠叆搴� -CheckMoreIn:鐩樼泩鍏ュ簱鍗� - + * ProductIn:OutHedTB + * ItemMoveIn:璋冩嫧鍏ュ簱 + * ItemSwitchIn:褰㈡�佽浆鎹㈠叆搴� + * CheckMoreIn:鐩樼泩鍏ュ簱鍗� */ - @ApiModelProperty(value= "StockIn:閲囪喘鍏ュ簱 ") + @ApiModelProperty(value = "StockIn:閲囪喘鍏ュ簱 ") @TableField("IoKindID") private String IoKindID; @@ -61,42 +64,42 @@ /** * 渚涘簲鍟嗐�侀儴闂↖D */ - @ApiModelProperty(value= "渚涘簲鍟嗐�侀儴闂↖D") + @ApiModelProperty(value = "渚涘簲鍟嗐�侀儴闂↖D") @TableField("ObjectId") - private String OjectId; + private String ObjectId; /** * 渚涘簲鍟嗐�侀儴闂ㄥ悕绉� */ - @ApiModelProperty(value= "渚涘簲鍟嗐�侀儴闂ㄥ悕绉�") + @ApiModelProperty(value = "渚涘簲鍟嗐�侀儴闂ㄥ悕绉�") @TableField("ObjectName") - private String OjbectName; + private String ObjectName; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("Remark") - private String remark; + private String Remark; @TableField("WareId") - private String wareId; + private String WareId; @TableField("WareName") private String wareName; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("Temp1") - private String temp1; + private String Temp1; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("Temp2") - private String temp2; + private String Temp2; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("Temp3") - private String temp3; + 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; @@ -107,100 +110,11 @@ private Boolean bStartIn; - - - -// InHedTB inHedTB = new InHedTB( -// null, // [闈炵┖] -// null, // StockIn:閲囪喘鍏ュ簱 - - -// null, // 渚涘簲鍟嗐�侀儴闂↖D -// null, // 渚涘簲鍟嗐�侀儴闂ㄥ悕绉� -// null, // -// null, // -// null, // -// null, // -// null // -// ); - - public String getBillNo() { - return BillNo; - } - - public void setBillNo(String BillNo) { - this.BillNo = BillNo; - } - - public String getIoKindID() { - return IoKindID; - } - - public void setIoKindID(String IoKindID) { - this.IoKindID = IoKindID; - } - - public String getOjectId() { - return OjectId; - } - - public void setOjectId(String OjectId) { - this.OjectId = OjectId; - } - - public String getOjbectName() { - return OjbectName; - } - - public void setOjbectName(String OjbectName) { - this.OjbectName = OjbectName; - } - - 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