数据处理代码
This commit is contained in:
@@ -219,4 +219,13 @@ public class LineInfoDAO {
|
||||
List<LineInfoDO> lineMobile = lineInfoMapper.getByLineIds(lineIds);
|
||||
return lineMobile.stream().filter(o->StringUtils.isNotBlank(o.getMobile())).collect(Collectors.toMap(LineInfoDO::getId, LineInfoDO::getUsername, (k1, k2)-> k1));
|
||||
}
|
||||
|
||||
public List<LineInfoDO> getListByPartnerIds(List<String> partnerIds){
|
||||
if(CollectionUtils.isEmpty(partnerIds)){
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
Example example = new Example(LineInfoDAO.class);
|
||||
example.createCriteria().andIn("partnerId",partnerIds);
|
||||
return lineInfoMapper.selectByExample(example);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user