From 90dd2b9a2338f1d8fd3652b64299a7f7f2be1d15 Mon Sep 17 00:00:00 2001 From: lty <876263681@qq.com> Date: 星期六, 24 五月 2025 14:26:26 +0800 Subject: [PATCH] # --- src/main/java/com/zy/third/lk/entity/InHedTB.java | 181 ++++++++++++--------------------------------- 1 files changed, 48 insertions(+), 133 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..9209c5c 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,177 +34,88 @@ private static final long serialVersionUID = 1L; - @TableId(value = "AutoId",type = IdType.AUTO) - private Integer autoId; + @TableId(value = "auto_id", type = IdType.AUTO) + @TableField("auto_id") + private Integer AutoId; - @ApiModelProperty(value= "") - @TableId(value = "BillNo", type = IdType.INPUT) - @TableField("BillNo") + @ApiModelProperty(value = "") + @TableId(value = "bill_no", type = IdType.INPUT) + @TableField("bill_no") private String BillNo; - @TableField("BillDate") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @TableField("bill_date") + @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:閲囪喘鍏ュ簱 ") - @TableField("IoKindID") + @ApiModelProperty(value = "StockIn:閲囪喘鍏ュ簱 ") + @TableField("io_kind_id") private String IoKindID; - @TableField("IoKindName") + @TableField("io_kind_name") private String ioKindName; /** * 渚涘簲鍟嗐�侀儴闂↖D */ - @ApiModelProperty(value= "渚涘簲鍟嗐�侀儴闂↖D") - @TableField("ObjectId") - private String OjectId; + @ApiModelProperty(value = "渚涘簲鍟嗐�侀儴闂↖D") + @TableField("object_id") + private String ObjectId; /** * 渚涘簲鍟嗐�侀儴闂ㄥ悕绉� */ - @ApiModelProperty(value= "渚涘簲鍟嗐�侀儴闂ㄥ悕绉�") - @TableField("ObjectName") - private String OjbectName; + @ApiModelProperty(value = "渚涘簲鍟嗐�侀儴闂ㄥ悕绉�") + @TableField("object_name") + private String ObjectName; - @ApiModelProperty(value= "") - @TableField("Remark") - private String remark; + @ApiModelProperty(value = "") + @TableField("remark") + private String Remark; - @TableField("WareId") - private String wareId; + @TableField("ware_id") + private String WareId; - @TableField("WareName") + @TableField("ware_name") private String wareName; - @ApiModelProperty(value= "") - @TableField("Temp1") - private String temp1; + @ApiModelProperty(value = "") + @TableField("temp1") + private String Temp1; - @ApiModelProperty(value= "") - @TableField("Temp2") - private String temp2; + @ApiModelProperty(value = "") + @TableField("temp2") + private String Temp2; - @ApiModelProperty(value= "") - @TableField("Temp3") - private String temp3; + @ApiModelProperty(value = "") + @TableField("temp3") + private String Temp3; - @ApiModelProperty(value= "") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @TableField("MakeDate") + @ApiModelProperty(value = "") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @TableField("make_date") private Date makedate; - @TableField("bPass") + @TableField("b_pass") private Boolean bPass; - @TableField("bStartIn") + @TableField("b_start_in") 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