From c411a088e0357025106076d630e3dce6a3635346 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 24 十一月 2022 14:20:01 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/Plan.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 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 606eb5f..409e3e9 100644
--- a/src/main/java/com/zy/crm/manager/entity/Plan.java
+++ b/src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -401,6 +401,26 @@
         }
     }
 
+    public Integer getStepOfSettle(){
+        if (null == this.settle){ return null; }
+        switch (this.settle){
+            case 1:
+                return 1;
+            case 2:
+            case 3:
+                return 2;
+            case 4:
+            case 5:
+                return 3;
+            case 6:
+                return 4;
+            case 7:
+                return 4;
+            default:
+                return 0;
+        }
+    }
+
     public String getSettle$(){
         if (null == this.settle){ return null; }
         switch (this.settle){

--
Gitblit v1.9.1