Browse Source

客户档案面谈信息详情修改行业更改为多选

anderx 8 months ago
parent
commit
87ca8e0878

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

@@ -11,11 +11,20 @@ public class InputUserData {
    private Integer channelType;
    private String orgCode;
    private String industry;
+   private String industryName;
    private Integer nature;
    private String natureOther;
    private Integer enterpriseNature;
    private Integer listedNature;
 
+    public String getIndustryName() {
+        return industryName;
+    }
+
+    public void setIndustryName(String industryName) {
+        this.industryName = industryName;
+    }
+
     public Integer getEnterpriseNature() {
         return enterpriseNature;
     }

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

@@ -2809,7 +2809,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		OrganizationIdentity oi =new OrganizationIdentity();
 		oi.setUid(in.getUid());
 		if (in.getProvince()!=null ||in.getCity() !=null ||in.getArea()!=null|| in.getBusinessScope()!=null
-				||in.getIntendedProject()!=null||in.getOrgCode()!=null||in.getIndustry()!=null){
+				||in.getIntendedProject()!=null||in.getOrgCode()!=null||in.getIndustry()!=null||in.getIndustryName()!=null){
 			if(in.getProvince()!=null)oi.setLocationProvince(in.getProvince());
 			if(in.getCity()!=null)oi.setLocationCity(in.getCity());
 			if(in.getArea()!=null)oi.setLocationArea(in.getArea());
@@ -2821,6 +2821,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 				oi.setBusinessScope(in.getBusinessScope());
 			}
 			if(in.getIntendedProject()!=null)oi.setIntendedProject(in.getIntendedProject());
+			if (in.getIndustryName()!=null)oi.setIndustryName(in.getIndustryName());
 			organizationIdentityMapper.updateServiceByUid(oi);
 		}
 		if (in.getIntroduction()!=null||in.getNature()!=null){