Commit fee2bad0 authored by tianyiming's avatar tianyiming

首页展示信息修改

parent 7322bb1e
...@@ -114,10 +114,17 @@ public class TzsAuthController extends BaseController { ...@@ -114,10 +114,17 @@ public class TzsAuthController extends BaseController {
map.put("regulator", company.getCompanyName()); map.put("regulator", company.getCompanyName());
map.put("orgCode", list.get(0).getOrgCode() + "_" + list.get(0).getCompanyName()); map.put("orgCode", list.get(0).getOrgCode() + "_" + list.get(0).getCompanyName());
} }
map.put("company", company.getCompanyName()); if ("个人主体".equals(company.getCompanyType())) {
map.put("company", company.getCompanyName().split("_")[1]);
map.put("USE_UNIT_NAME", list.get(0).getCompanyName().split("_")[1]);
map.put("USE_UNIT_CREDIT_CODE", list.get(0).getCompanyCode().split("_")[1]);
} else {
map.put("company", company.getCompanyName());
map.put("USE_UNIT_NAME", list.get(0).getCompanyName());
map.put("USE_UNIT_CREDIT_CODE", list.get(0).getCompanyCode());
}
map.put("companyId", company.getParentId() != 0L ? company.getParentId() : company.getSequenceNbr()); map.put("companyId", company.getParentId() != 0L ? company.getParentId() : company.getSequenceNbr());
map.put("USE_UNIT_NAME", list.get(0).getCompanyName());
map.put("USE_UNIT_CREDIT_CODE", list.get(0).getCompanyCode());
} }
map.put("userName", result.getResult().getRealName()); map.put("userName", result.getResult().getRealName());
map.put("userPhoto", userPhoto); map.put("userPhoto", userPhoto);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment