From cda3622521308b21e10e5446c2060bf2fafd1e80 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期三, 06 九月 2023 12:36:36 +0800 Subject: [PATCH] # --- src/main/java/com/zy/crm/manager/entity/Order.java | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/entity/Order.java b/src/main/java/com/zy/crm/manager/entity/Order.java index c7c232a..36c4605 100644 --- a/src/main/java/com/zy/crm/manager/entity/Order.java +++ b/src/main/java/com/zy/crm/manager/entity/Order.java @@ -173,6 +173,12 @@ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date updateTime; + + @ApiModelProperty(value= "椤圭洰杩涘害娴佺▼{1锛氶」鐩垱寤猴紝2锛氭牳浠峰鐞嗭紝3锛氫骇鍝佽垂鐢ㄦ槑缁嗭紝4锛氭姤浠烽绠楀崟锛�5锛氭姤浠峰崟}") + @TableField("step") + private int step; + + /** * 娉ㄩ噴 */ @@ -181,7 +187,7 @@ public Order() {} - public Order(Long hostId,Long deptId,Long userId,Long cstmrId,String uuid,String name,Double money,Long company,String remarks,Long director,String province,String city,String district,String town,String addr,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { + public Order(Long hostId,Long deptId,Long userId,Long cstmrId,String uuid,String name,Double money,Long company,String remarks,Long director,String province,String city,String district,String town,String addr,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,Integer step,String memo) { this.hostId = hostId; this.deptId = deptId; this.userId = userId; @@ -203,6 +209,7 @@ this.createTime = createTime; this.updateBy = updateBy; this.updateTime = updateTime; + this.step = step; this.memo = memo; } @@ -310,7 +317,7 @@ if (Cools.isEmpty(this.createTime)){ return ""; } - return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime); + return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(this.createTime); } public String getUpdateBy$(){ @@ -326,7 +333,7 @@ if (Cools.isEmpty(this.updateTime)){ return ""; } - return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); + return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(this.updateTime); } @TableField(exist = false) -- Gitblit v1.9.1