Ver código fonte

Merge branch 'test2' of jishutao/kede-server into prod

anderx 9 meses atrás
pai
commit
8e78e5c43d

+ 48 - 0
src/main/java/com/goafanti/customer/bo/InputUpdateAndReceiveCustomer.java

@@ -16,6 +16,54 @@ public class InputUpdateAndReceiveCustomer {
     private String businessScope;
     private String position;
     private Integer level;
+    /**
+     * 客户性质0=其他,1=政府机构,2=科研院所,3=高等院校,4=国有企业,5=民营企业,6=社会团体
+     */
+    private Integer nature;
+    /**
+     * 客户性质其他说明
+     */
+    private String natureOther;
+    /**
+     * 企业性质 0=其他,1=国企,2=央企,3=私企,4=合资企业(含港澳台),5=外资控股
+     */
+    private Integer enterpriseNature;
+    /**
+     * 上市 0=否,1=是
+     */
+    private Integer listedNature;
+
+    public Integer getNature() {
+        return nature;
+    }
+
+    public void setNature(Integer nature) {
+        this.nature = nature;
+    }
+
+    public String getNatureOther() {
+        return natureOther;
+    }
+
+    public void setNatureOther(String natureOther) {
+        this.natureOther = natureOther;
+    }
+
+    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 getLevel() {
         return level;

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

@@ -3098,6 +3098,10 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		user.setId(in.getId());
 		user.setSocietyTag(in.getSocietyTag());
 		user.setLevel(in.getLevel());
+		user.setNature(in.getNature());
+		user.setNatureOther(in.getNatureOther());
+		user.setEnterpriseNature(in.getEnterpriseNature());
+		user.setListedNature(in.getListedNature());
 		userMapper.update(user);
 		OrganizationIdentity oi = new OrganizationIdentity();
 		oi.setUid(in.getId());