|
@@ -162,32 +162,32 @@ public class WdInfoServiceImpl implements WdInfoService {
|
|
|
// 网点分类(犇云)
|
|
|
List<String> types = new ArrayList<>();
|
|
|
if (bo.getTypeCodeBys() != null)
|
|
|
- if (bo.getTypeCodeBys().length > 0) {
|
|
|
+ if (bo.getTypeCodeBys().size() > 0) {
|
|
|
for (String type : bo.getTypeCodeBys())
|
|
|
types.addAll(categoryUtil.getAllOtherTypeBy(type));
|
|
|
} else
|
|
|
types = null;
|
|
|
else types = null;
|
|
|
if (types != null)
|
|
|
- wdInfoQueryWrapper.in("type_code_by", types);
|
|
|
+ wdInfoQueryWrapper.in("dwi.type_code_by", types);
|
|
|
|
|
|
// 地区码
|
|
|
List<String> addrs = new ArrayList<>();
|
|
|
if (bo.getAddrCodes() != null)
|
|
|
- if (bo.getAddrCodes().length > 0) {
|
|
|
+ if (bo.getAddrCodes().size() > 0) {
|
|
|
for (String addr : bo.getAddrCodes())
|
|
|
addrs.addAll(categoryUtil.getAllOtherAddrCode(addr));
|
|
|
} else
|
|
|
addrs = null;
|
|
|
else addrs = null;
|
|
|
if (addrs != null)
|
|
|
- wdInfoQueryWrapper.in("addr_code", addrs);
|
|
|
+ wdInfoQueryWrapper.in("dwi.addr_code", addrs);
|
|
|
|
|
|
// 潜力值
|
|
|
if (bo.getIndexScore() != null)
|
|
|
- if (bo.getIndexScore().length == 2)
|
|
|
- wdInfoQueryWrapper.ge("index_score", bo.getIndexScore()[0])
|
|
|
- .le("index_score", bo.getIndexScore()[1]);
|
|
|
+ if (bo.getIndexScore().size() == 2)
|
|
|
+ wdInfoQueryWrapper.ge("index_score", bo.getIndexScore().get(0))
|
|
|
+ .le("index_score", bo.getIndexScore().get(1));
|
|
|
|
|
|
Page<WdInfo> page = new Page<>(bo.getPageNum(), bo.getPageSize());
|
|
|
return wdInfoMapper.selectChannel(page, wdInfoQueryWrapper);
|