From 12e25cc9a1f175c9ea24f5e78bb090496cd8cefc Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 07 十一月 2022 14:16:07 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/Cstmr.java |   22 ++++++++++++++++++++++
 1 files changed, 22 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..e4b515a 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,24 @@
         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:
+                this.type = 1;
+                break;
+        }
+    }
+
     public String getType$(){
         if (null == this.type){ return null; }
         switch (this.type){
@@ -393,6 +411,10 @@
                         break;
                 }
             }
+        } else {
+            this.province = "";
+            this.city = "";
+            this.district = "";
         }
     }
 

--
Gitblit v1.9.1