src/main/java/com/whyc/service/BaojigroupService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/BaojigroupUsrMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/service/BaojigroupService.java
@@ -115,6 +115,7 @@ //查询包机组未添加的用户信息 QueryWrapper wrapper=new QueryWrapper(); wrapper.select("uid", "uname"); wrapper.gt("uid",100); List<UserInf> allUserInfList = userInfMapper.selectList(wrapper); List<UserInf> notRelatedUserInfList = allUserInfList.stream().filter(userInf -> !relatedUserInfList.contains(userInf)).collect(Collectors.toList()); src/main/resources/mapper/BaojigroupUsrMapper.xml
@@ -17,5 +17,6 @@ select u.uid,u.uname from plus_user.tb_baojigroup_usr bu,plus_user.tb_user_inf u where bu.uid = u.uid and bu.baoji_id = #{id} and u.uid>100 </select> </mapper>