fix 自助进件优化

master
luoyang 5 years ago
parent bd6e58ee3b
commit 3546e8e3b7

@ -56,6 +56,11 @@ public class ClientPreApplyBean {
private String nation_code; private String nation_code;
private String client_pay_type = "2"; private String client_pay_type = "2";
private String client_pay_desc = "201"; private String client_pay_desc = "201";
private String company_website;
private String company_photo;
private String alipayindustry;
private String wechatindustry;
private String store_photo;
@ -255,4 +260,44 @@ public class ClientPreApplyBean {
public String getClient_pay_desc() { public String getClient_pay_desc() {
return client_pay_desc; return client_pay_desc;
} }
public void setAlipayindustry(String alipayindustry) {
this.alipayindustry = alipayindustry;
}
public void setCompany_photo(String company_photo) {
this.company_photo = company_photo;
}
public void setCompany_website(String company_website) {
this.company_website = company_website;
}
public void setStore_photo(String store_photo) {
this.store_photo = store_photo;
}
public void setWechatindustry(String wechatindustry) {
this.wechatindustry = wechatindustry;
}
public String getAlipayindustry() {
return alipayindustry;
}
public String getCompany_photo() {
return company_photo;
}
public String getCompany_website() {
return company_website;
}
public String getStore_photo() {
return store_photo;
}
public String getWechatindustry() {
return wechatindustry;
}
} }

@ -477,6 +477,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
data.add(rate); data.add(rate);
} }
JSONObject temp = new JSONObject(); JSONObject temp = new JSONObject();
data = data.stream().sorted((log1, log2) -> log1.getString("channel").compareTo(log2.getString("channel"))).collect(Collectors.toList());
temp.put("data",data); temp.put("data",data);
temp.put("name",tName.getString(strt)); temp.put("name",tName.getString(strt));
rates.add(temp); rates.add(temp);
@ -628,6 +629,9 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
sysClient.put("royalpayindustry", apply.getString("industry")); sysClient.put("royalpayindustry", apply.getString("industry"));
sysClient.put("alipayindustry", apply.getString("alipayindustry")); sysClient.put("alipayindustry", apply.getString("alipayindustry"));
sysClient.put("industry", apply.getString("wechatindustry")); sysClient.put("industry", apply.getString("wechatindustry"));
if (StringUtils.isBlank(apply.getString("wechatindustry"))) {
sysClient.put("industry", 331);
}
sysClient.put("contact_person", apply.getString("contact_person")); sysClient.put("contact_person", apply.getString("contact_person"));
sysClient.put("contact_job", apply.getString("contact_job")); sysClient.put("contact_job", apply.getString("contact_job"));
sysClient.put("logo_url", apply.getString("logo_url")); sysClient.put("logo_url", apply.getString("logo_url"));

Loading…
Cancel
Save