From 6d020dc1be28c495510c6bf0344b1b183dfc9e4a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 18 九月 2022 20:44:01 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/Cstmr.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/crm/manager/entity/Cstmr.java b/src/main/java/com/zy/crm/manager/entity/Cstmr.java
index 2822ccc..979563b 100644
--- a/src/main/java/com/zy/crm/manager/entity/Cstmr.java
+++ b/src/main/java/com/zy/crm/manager/entity/Cstmr.java
@@ -297,6 +297,22 @@
         return null;
     }
 
+    public void setType0(String type0){
+        if (Cools.isEmpty(type0)) {
+            return;
+        }
+        switch (type0){
+            case "鍐呴攢":
+                this.type = 1;
+                break;
+            case "澶栭攢":
+                this.type = 2;
+                break;
+            default:
+                break;
+        }
+    }
+
     public String getType$(){
         if (null == this.type){ return null; }
         switch (this.type){
@@ -393,6 +409,10 @@
                         break;
                 }
             }
+        } else {
+            this.province = "";
+            this.city = "";
+            this.district = "";
         }
     }
 

--
Gitblit v1.9.1