Przeglądaj źródła

客户模块新增字段

anderx 9 miesięcy temu
rodzic
commit
4c5d5053d6

+ 18 - 0
src/main/java/com/goafanti/customer/bo/InputUserData.java

@@ -13,6 +13,24 @@ public class InputUserData {
    private Integer industry;
    private Integer nature;
    private String natureOther;
+   private Integer enterpriseNature;
+   private Integer listedNature;
+
+    public Integer getEnterpriseNature() {
+        return enterpriseNature;
+    }
+
+    public void setEnterpriseNature(Integer enterpriseNature) {
+        this.enterpriseNature = enterpriseNature;
+    }
+
+    public Integer getListedNature() {
+        return listedNature;
+    }
+
+    public void setListedNature(Integer listedNature) {
+        this.listedNature = listedNature;
+    }
 
     public Integer getNature() {
         return nature;

+ 2 - 0
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -2815,6 +2815,8 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 			if(in.getIntroduction()!=null)user.setIntroduction(in.getIntroduction());
 			if (in.getNature()!=null)user.setNature(in.getNature());
 			if (in.getNatureOther()!=null)user.setNatureOther(in.getNatureOther());
+			if (in.getEnterpriseNature()!=null)user.setEnterpriseNature(in.getEnterpriseNature());
+			if (in.getListedNature()!=null)user.setListedNature(in.getListedNature());
 			userMapper.update(user);
 		}
 		if (in.getChannelType() !=null){