From 064e2b95e2a88f9679a1834e4dec95038c0482ff Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 09 十月 2023 15:31:34 +0800
Subject: [PATCH] #流程相关

---
 src/main/java/com/zy/crm/manager/entity/Plan.java |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 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 7a4ff33..bf02e74 100644
--- a/src/main/java/com/zy/crm/manager/entity/Plan.java
+++ b/src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -275,6 +275,15 @@
         return null;
     }
 
+    public Integer getPLType$(){
+        PlanTypeService service = SpringUtils.getBean(PlanTypeService.class);
+        PlanType planType = service.selectById(this.planType);
+        if (!Cools.isEmpty(planType)){
+            return planType.getType();
+        }
+        return null;
+    }
+
     public String getUserId$(){
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.userId);
@@ -360,15 +369,15 @@
     public String getSettle$(){
         if (null == this.settle){ return null; }
         switch (this.settle){
+//            case 1:
+//                return "绛夊緟缁勯暱瀹℃牳";
             case 1:
-                return "绛夊緟缁勯暱瀹℃牳";
-            case 2:
                 return "绛夊緟鍞墠鍒嗛厤瑙勫垝鍛�";
-            case 3:
+            case 2:
                 return "绛夊緟瑙勫垝鍛樻彁浜�";
-            case 4:
+            case 3:
                 return "瑙勫垝鍛樺凡鎻愪氦";
-            case 5:
+            case 4:
                 return "瀹℃壒閫氳繃";
             default:
                 return String.valueOf(this.settle);
@@ -397,10 +406,12 @@
     public String getStatus$(){
         if (null == this.status){ return null; }
         switch (this.status){
+            case 2:
+                return "寮�濮嬫牳浠�";
             case 1:
-                return "姝e父";
+                return "绛夊緟鏍镐环";
             case 0:
-                return "绂佺敤";
+                return "鏈畬鎴�";
             default:
                 return String.valueOf(this.status);
         }

--
Gitblit v1.9.1