From 82de5a307466894bbb0258f8a63a26a7bb96d80d Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 16 十月 2025 09:55:35 +0800
Subject: [PATCH] 13

---
 src/main/java/com/zy/asrs/entity/DocType.java |   68 ++++++++++++++++++---------------
 1 files changed, 37 insertions(+), 31 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/DocType.java b/src/main/java/com/zy/asrs/entity/DocType.java
index 3cd4c70..05032f1 100644
--- a/src/main/java/com/zy/asrs/entity/DocType.java
+++ b/src/main/java/com/zy/asrs/entity/DocType.java
@@ -25,7 +25,7 @@
     /**
      * 绫诲瀷缂栧彿
      */
-    @ApiModelProperty(value= "绫诲瀷缂栧彿")
+    @ApiModelProperty(value = "绫诲瀷缂栧彿")
     @TableId(value = "doc_id", type = IdType.INPUT)
     @TableField("doc_id")
     private Long docId;
@@ -33,67 +33,69 @@
     /**
      * 绫诲瀷鍚嶇О
      */
-    @ApiModelProperty(value= "绫诲瀷鍚嶇О")
+    @ApiModelProperty(value = "绫诲瀷鍚嶇О")
     @TableField("doc_name")
     private String docName;
 
     /**
      * 鍏ュ簱 1: 鍏ュ簱  0: 闈炲叆搴�
      */
-    @ApiModelProperty(value= "鍏ュ簱 1: 鍏ュ簱  0: 闈炲叆搴�  ")
+    @ApiModelProperty(value = "鍏ュ簱 1: 鍏ュ簱  0: 闈炲叆搴�  ")
     private Integer pakin;
 
     /**
      * 鍑哄簱 1: 鍑哄簱  0: 闈炲嚭搴�
      */
-    @ApiModelProperty(value= "鍑哄簱 1: 鍑哄簱  0: 闈炲嚭搴�  ")
+    @ApiModelProperty(value = "鍑哄簱 1: 鍑哄簱  0: 闈炲嚭搴�  ")
     private Integer pakout;
 
     /**
      * 鐘舵�� 1: 姝e父  0: 绂佺敤
      */
-    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    @ApiModelProperty(value = "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
     private Integer status;
 
     /**
      * 娣诲姞浜哄憳
      */
-    @ApiModelProperty(value= "娣诲姞浜哄憳")
+    @ApiModelProperty(value = "娣诲姞浜哄憳")
     @TableField("create_by")
     private Long createBy;
 
     /**
      * 娣诲姞鏃堕棿
      */
-    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @ApiModelProperty(value = "娣诲姞鏃堕棿")
     @TableField("create_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date createTime;
 
     /**
      * 淇敼浜哄憳
      */
-    @ApiModelProperty(value= "淇敼浜哄憳")
+    @ApiModelProperty(value = "淇敼浜哄憳")
     @TableField("update_by")
     private Long updateBy;
 
     /**
      * 淇敼鏃堕棿
      */
-    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @ApiModelProperty(value = "淇敼鏃堕棿")
     @TableField("update_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date updateTime;
 
     /**
      * 澶囨敞
      */
-    @ApiModelProperty(value= "澶囨敞")
+    @ApiModelProperty(value = "澶囨敞")
     private String memo;
 
     public String getPakin$() {
-        if (null == this.pakin){ return null; }
-        switch (this.pakin){
+        if (null == this.pakin) {
+            return null;
+        }
+        switch (this.pakin) {
             case 1:
                 return "鍏ュ簱";
             case 0:
@@ -104,8 +106,10 @@
     }
 
     public String getPakout$() {
-        if (null == this.pakout){ return null; }
-        switch (this.pakout){
+        if (null == this.pakout) {
+            return null;
+        }
+        switch (this.pakout) {
             case 1:
                 return "鍑哄簱";
             case 0:
@@ -115,9 +119,11 @@
         }
     }
 
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
+    public String getStatus$() {
+        if (null == this.status) {
+            return null;
+        }
+        switch (this.status) {
             case 1:
                 return "姝e父";
             case 0:
@@ -127,43 +133,43 @@
         }
     }
 
-    public String getCreateBy$(){
+    public String getCreateBy$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.createBy);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getUsername());
         }
         return null;
     }
 
-    public String getCreateTime$(){
-        if (Cools.isEmpty(this.createTime)){
+    public String getCreateTime$() {
+        if (Cools.isEmpty(this.createTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
     }
 
-    public String getUpdateBy$(){
+    public String getUpdateBy$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.updateBy);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getUsername());
         }
         return null;
     }
 
-    public String getUpdateTime$(){
-        if (Cools.isEmpty(this.updateTime)){
+    public String getUpdateTime$() {
+        if (Cools.isEmpty(this.updateTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
     }
 
-    public String getDocName$(){
-        if (Cools.isEmpty(this.docName)){
+    public String getDocName$() {
+        if (Cools.isEmpty(this.docName)) {
             return "";
-        }else {
-            switch (this.docName){
+        } else {
+            switch (this.docName) {
                 case "閲囪喘閿�鍞紙鍑哄簱锛�":
                 case "閲囪喘閿�鍞紙鍏ュ簱锛�":
                     return "TF_PSS";

--
Gitblit v1.9.1