Commit 6071e5ea authored by 姬鋆屾's avatar 姬鋆屾
parents 3834d633 fa2487a2
...@@ -111,6 +111,7 @@ public class CompanyController extends BaseCRUDJsonBodyMappingController<Company ...@@ -111,6 +111,7 @@ public class CompanyController extends BaseCRUDJsonBodyMappingController<Company
if(StringUtils.isNotEmpty(newsEntity.getRelatedCompany())){ if(StringUtils.isNotEmpty(newsEntity.getRelatedCompany())){
List<String> companyIds = Arrays.asList(newsEntity.getRelatedCompany().split(",")); List<String> companyIds = Arrays.asList(newsEntity.getRelatedCompany().split(","));
if(companyIds.contains(String.valueOf(id))){ if(companyIds.contains(String.valueOf(id))){
newsEntity.setContent(null);
newsList.add(newsEntity); newsList.add(newsEntity);
} }
} }
......
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