Commit 90fe6b64 by QianQiXiang

增加一个企业简称字段

parent c8901e47
......@@ -173,13 +173,13 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
infoDTO.setClerkName(nameMap.get(infoDTO.getClerkId()));
infoDTO.setStoreName(nameMap.get(infoDTO.getStoreId()));
if (nameMap.get(infoDTO.getEnterpriseName())!=null){
String EnterpriseandBrandName= nameMap.get(infoDTO.getEnterpriseName());
String split[]=EnterpriseandBrandName.split("_");
infoDTO.setEnterpriseName(split[0]);
if (split[1]!=null)infoDTO.setBrandName(split[1]);
}
// infoDTO.setEnterpriseName(nameMap.get(infoDTO.getEnterpriseId()));
// if (nameMap.get(infoDTO.getEnterpriseName())!=null){
// String EnterpriseandBrandName= nameMap.get(infoDTO.getEnterpriseName());
// String split[]=EnterpriseandBrandName.split("_");
// infoDTO.setEnterpriseName(split[0]);
// if (split[1]!=null)infoDTO.setBrandName(split[1]);
// }
infoDTO.setEnterpriseName(nameMap.get(infoDTO.getEnterpriseId()));
});
return infoDTOS;
}
......
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