Commit ddbf228e by guos

会员标签4.0

parent c6d12a0a
......@@ -94,16 +94,16 @@ public class TagProcess {
}
public void setEnterpriseId(List<Integer>enterpriseIdList){
for(SceneCrowdDTO dto:sceneCrowdDTOList){
if(!enterpriseIdList.contains(dto.getEnterprise_Id())){
sceneCrowdDTOList.remove(dto);
for(int i=sceneCrowdDTOList.size()-1;i>=0;i--){
if(!enterpriseIdList.contains(sceneCrowdDTOList.get(i).getEnterprise_Id())){
sceneCrowdDTOList.remove(i);
}
}
}
public void setTagGroupId(List<Integer>tagGroupIdList){
for(SceneCrowdDTO dto:sceneCrowdDTOList){
if(!tagGroupIdList.contains(dto.getId())){
sceneCrowdDTOList.remove(dto);
for(int i=sceneCrowdDTOList.size()-1;i>=0;i--){
if(!tagGroupIdList.contains(sceneCrowdDTOList.get(i).getId())){
sceneCrowdDTOList.remove(i);
}
}
}
......
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