From cf22fb461f13b7136807fc5272e8ef254ff29db4 Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期二, 11 一月 2022 10:01:32 +0800
Subject: [PATCH] 完成提交

---
 src/main/java/zy/cloud/wms/manager/entity/ProjectPlan.java |   57 ++++++++++++++++++++-------------------------------------
 1 files changed, 20 insertions(+), 37 deletions(-)

diff --git a/src/main/java/zy/cloud/wms/manager/entity/ProjectPlan.java b/src/main/java/zy/cloud/wms/manager/entity/ProjectPlan.java
index 402305c..2082bd8 100644
--- a/src/main/java/zy/cloud/wms/manager/entity/ProjectPlan.java
+++ b/src/main/java/zy/cloud/wms/manager/entity/ProjectPlan.java
@@ -10,6 +10,7 @@
 import java.text.SimpleDateFormat;
 import java.util.Date;
 import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
 import org.springframework.format.annotation.DateTimeFormat;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -38,6 +39,7 @@
 import com.baomidou.mybatisplus.annotations.TableName;
 import java.io.Serializable;
 
+@Data
 @TableName("sys_project_plan")
 public class ProjectPlan implements Serializable {
 
@@ -46,6 +48,7 @@
     /**
      * 鍞竴ID
      */
+    @TableId(value = "id",type = IdType.AUTO)
     @ApiModelProperty(value= "鍞竴ID")
     private Long id;
 
@@ -150,7 +153,7 @@
      */
     @ApiModelProperty(value= "鍒涘缓浜篿d")
     @TableField("create_id")
-    private Integer createId;
+    private Long createId;
 
     /**
      * 淇敼鏃堕棿
@@ -165,7 +168,7 @@
      */
     @ApiModelProperty(value= "淇敼浜篿d")
     @TableField("modify_id")
-    private Integer modifyId;
+    private Long modifyId;
 
     /**
      * 鑺傜偣鍚嶇О
@@ -175,26 +178,6 @@
     private String flowName;
 
     public ProjectPlan() {}
-
-    public ProjectPlan(Long itemId,Integer weightNum,Integer flowId,Date startTime,Date realStartTime,Date endTime,Date realEndTime,Integer delay,String delayReason,String memo,String dutyDepartment,String dutyMan,Date createTime,Integer createId,Date modifyTime,Integer modifyId,String flowName) {
-        this.itemId = itemId;
-        this.weightNum = weightNum;
-        this.flowId = flowId;
-        this.startTime = startTime;
-        this.realStartTime = realStartTime;
-        this.endTime = endTime;
-        this.realEndTime = realEndTime;
-        this.delay = delay;
-        this.delayReason = delayReason;
-        this.memo = memo;
-        this.dutyDepartment = dutyDepartment;
-        this.dutyMan = dutyMan;
-        this.createTime = createTime;
-        this.createId = createId;
-        this.modifyTime = modifyTime;
-        this.modifyId = modifyId;
-        this.flowName = flowName;
-    }
 
 //    ProjectPlan projectPlan = new ProjectPlan(
 //            null,    // 椤圭洰ID[闈炵┖]
@@ -363,13 +346,13 @@
         this.createTime = createTime;
     }
 
-    public Integer getCreateId() {
-        return createId;
-    }
-
-    public void setCreateId(Integer createId) {
-        this.createId = createId;
-    }
+//    public Integer getCreateId() {
+//        return createId;
+//    }
+//
+//    public void setCreateId(Integer createId) {
+//        this.createId = createId;
+//    }
 
     public Date getModifyTime() {
         return modifyTime;
@@ -385,14 +368,14 @@
     public void setModifyTime(Date modifyTime) {
         this.modifyTime = modifyTime;
     }
-
-    public Integer getModifyId() {
-        return modifyId;
-    }
-
-    public void setModifyId(Integer modifyId) {
-        this.modifyId = modifyId;
-    }
+//
+//    public Integer getModifyId() {
+//        return modifyId;
+//    }
+//
+//    public void setModifyId(Integer modifyId) {
+//        this.modifyId = modifyId;
+//    }
 
     public String getFlowName() {
         return flowName;

--
Gitblit v1.9.1