Commit 8233d821 by QianQiXiang

增加一个企业简称字段

parent cc85b9ba
......@@ -138,7 +138,6 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
return null;
}
List<StaffClerkInfoDTO> infoDTOS = EntityUtil.changeEntityListByJSON(StaffClerkInfoDTO.class, list);
logger.info("list为:"+list);
Map<String, String> nameMap = new HashMap<>();
infoDTOS.forEach(infoDTO -> {
//企业
......@@ -146,6 +145,8 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
EnterpriseDTO enterpriseDTO = enterpriseService.getEnterpriseById(infoDTO.getEnterpriseId());
if (null != enterpriseDTO) {
nameMap.put(infoDTO.getEnterpriseId(), enterpriseDTO.getBrandName()+"_"+enterpriseDTO.getEnterpriseName());
logger.info(enterpriseDTO.getEnterpriseName());
logger.info(enterpriseDTO.getBrandName());
} else {
nameMap.put(infoDTO.getEnterpriseId(), "未知商户");
}
......
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