ef40bc86 by 肖初晴

【DAOP-1.0】企业认证

【功能点】测试问题处理
1 parent 35280e14
......@@ -331,7 +331,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
vo.setProvince(entity.getProvince());
vo.setCity(entity.getCity());
vo.setDistrict(entity.getDistrict());
vo.setCompanyAddress(String.format("%s/%s/%s",vo.getProvince(),vo.getCity(),vo.getDistrict()));
//vo.setCompanyAddress(String.format("%s/%s/%s",vo.getProvince(),vo.getCity(),vo.getDistrict()));
if(CollectionUtils.isEmpty(ChangeInfoUtil.areaList)){
ChangeInfoUtil.areaList = configureFeign.getBoroughCodeName().getData();
}
......@@ -355,22 +355,21 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
if(array.size() == 0){
return null;
}
List<TenantLicRQVO> list = new ArrayList<>();
JSONArray itemArray = new JSONArray();
for(int i = 0; i < array.size(); i++){
JSONObject obj = array.getJSONObject(i);
TenantLicRQVO item = new TenantLicRQVO();
item.setLicenseType("1");
//格式转换
JSONObject itemOjb = new JSONObject();
JSONArray itemArray = new JSONArray();
itemOjb.put("name",obj.get("name"));
itemOjb.put("path",obj.get("url"));
itemArray.add(itemOjb);
}
TenantLicRQVO item = new TenantLicRQVO();
item.setLicenseType("1");
item.setPictContentJson(JSON.toJSONString(itemArray));
List<TenantLicRQVO> list = new ArrayList<>();
list.add(item);
}
return list;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!