From 2c7a0b5c9cded118d3c3c46211adf40fe558d67b Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期五, 24 十一月 2023 14:13:11 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/Plan.java |   75 ++++++++++++++++++++++++++++---------
 1 files changed, 57 insertions(+), 18 deletions(-)

diff --git a/src/main/java/com/zy/crm/manager/entity/Plan.java b/src/main/java/com/zy/crm/manager/entity/Plan.java
index 5837250..4f1a728 100644
--- a/src/main/java/com/zy/crm/manager/entity/Plan.java
+++ b/src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -73,9 +73,9 @@
     private Long orderId;
 
     /**
-     * 鐢叉柟鍗曚綅
+     * 瀹㈡埛淇℃伅
      */
-    @ApiModelProperty(value = "鐢叉柟鍗曚綅")
+    @ApiModelProperty(value = "瀹㈡埛淇℃伅")
     @TableField("cstmr_id")
     private Long cstmrId;
 
@@ -351,6 +351,47 @@
         return null;
     }
 
+    public String getStatusAll$(){
+        if (this.status2>3 || this.getAssistantHostSign()==1){
+            return getStatus$();
+        }else {
+            return "闆嗘垚"+getStatus$()+"/"+"璐ф灦"+getStatus2$();
+        }
+
+    }
+
+    public String getStatus$(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 3:
+                return "瀹屾垚鏍镐环";
+            case 2:
+                return "寮�濮嬫牳浠�";
+            case 1:
+                return "绛夊緟鏍镐环";
+            case 0:
+                return "鍒濆";
+            default:
+                return String.valueOf(this.status);
+        }
+    }
+
+    public String getStatus2$(){
+        if (null == this.status2){ return null; }
+        switch (this.status2){
+            case 3:
+                return "瀹屾垚鏍镐环";
+            case 2:
+                return "寮�濮嬫牳浠�";
+            case 1:
+                return "绛夊緟鏍镐环";
+            case 0:
+                return "鍒濆";
+            default:
+                return String.valueOf(this.status2);
+        }
+    }
+
     public String getUserId$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.userId);
@@ -416,6 +457,20 @@
         }
     }
 
+    public String getAssistantHostSign$() {
+        if (null == this.assistantHostSign) {
+            return null;
+        }
+        switch (this.assistantHostSign) {
+            case 1:
+                return "鍓祦绋�";
+            case 0:
+                return "涓绘祦绋�";
+            default:
+                return String.valueOf(this.assistantHostSign);
+        }
+    }
+
     public String getFinishTime$() {
         if (Cools.isEmpty(this.finishTime)) {
             return "";
@@ -475,22 +530,6 @@
             return String.valueOf(user.getNickname());
         }
         return null;
-    }
-
-    public String getStatus$() {
-        if (null == this.status) {
-            return null;
-        }
-        switch (this.status) {
-            case 2:
-                return "寮�濮嬫牳浠�";
-            case 1:
-                return "绛夊緟鏍镐环";
-            case 0:
-                return "鏈畬鎴�";
-            default:
-                return String.valueOf(this.status);
-        }
     }
 
     public String getCreateBy$() {

--
Gitblit v1.9.1