From 8e21986572787b4280f6d9ec91f1d903edca4d95 Mon Sep 17 00:00:00 2001
From: tqs <56479841@qq.com>
Date: 星期二, 11 十月 2022 08:46:50 +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