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