Commit 4717a79d authored by 胡定国's avatar 胡定国

修改查询策略

parent 76f443cc
......@@ -543,9 +543,9 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
if (!resp.isSuccess() || CollectionUtils.isEmpty(resp.getAttributes())) {
return Lists.newArrayList();
}
// 排除不需要的策略(白名单产品策略)
// 排除白名单相关策略
List<String> excludeCodes = Lists.newArrayList("9010", "9020", "9030", "9040", "9050", "7030");
return resp.attributes.stream().filter(v -> !excludeCodes.contains(v)).map(item -> {
return resp.attributes.stream().filter(v -> !excludeCodes.contains(v.getConstantCode())).map(item -> {
SysConstantVO vo = new SysConstantVO();
vo.setConstantCode(item.getConstantCode());
vo.setConstantName(item.getConstantName());
......
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