From 58dc66a9d999c7d350e1ee4bf32b8d85b6e20e00 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期六, 21 九月 2024 10:32:42 +0800 Subject: [PATCH] 逻辑调整 --- src/main/java/com/zy/third/lk/entity/OutHedTB.java | 132 ++++++++------------------------------------ 1 files changed, 24 insertions(+), 108 deletions(-) diff --git a/src/main/java/com/zy/third/lk/entity/OutHedTB.java b/src/main/java/com/zy/third/lk/entity/OutHedTB.java index d708c69..f9a352a 100644 --- a/src/main/java/com/zy/third/lk/entity/OutHedTB.java +++ b/src/main/java/com/zy/third/lk/entity/OutHedTB.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; @@ -14,6 +15,7 @@ import org.springframework.format.annotation.DateTimeFormat; import com.baomidou.mybatisplus.annotations.TableName; + import java.io.Serializable; @Data @@ -24,42 +26,41 @@ 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; /** * SendMatOut:鍙戞枡鍑哄簱 -OtherOut:鍏跺畠鍑哄簱鍗� -ItemMoveOut:璋冩嫧鍑哄簱 -ItemSwitchOut:褰㈡�佽浆鎹㈠嚭搴� -CheckLossOut:鐩樼泩鍑哄簱鍗� - + * OtherOut:鍏跺畠鍑哄簱鍗� + * ItemMoveOut:璋冩嫧鍑哄簱 + * ItemSwitchOut:褰㈡�佽浆鎹㈠嚭搴� + * CheckLossOut:鐩樼泩鍑哄簱鍗� */ - @ApiModelProperty(value= "SendMatOut:鍙戞枡鍑哄簱 ") + @ApiModelProperty(value = "SendMatOut:鍙戞枡鍑哄簱 ") @TableField("IoKindID") private String IoKindID; @TableField("IoKindName") private String ioKindName; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @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; @@ -69,21 +70,21 @@ @TableField("WareName") private String wareName; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("Temp1") private String temp1; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("Temp2") private String temp2; - @ApiModelProperty(value= "") + @ApiModelProperty(value = "") @TableField("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; @@ -95,96 +96,11 @@ private Boolean bStartIn; -// OutHedTb outHedTb = new OutHedTb( -// null, // [闈炵┖] -// null, // SendMatOut:鍙戞枡鍑哄簱 - -// null, // -// 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