Compare commits
2
Commits
2f5712a678
...
d47737de5e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d47737de5e | ||
|
|
991dbabe8a |
+6
@@ -313,6 +313,12 @@
|
||||
<if test="filter.phone != null and filter.phone != ''">
|
||||
and b.phone like CONCAT(#{filter.phone,jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="filter.excludeUserIds != null and filter.excludeUserIds.size()!=0">
|
||||
AND a.id not in
|
||||
<foreach collection="filter.excludeUserIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
<choose>
|
||||
<when test="filter.idList != null and !filter.idList.isEmpty()">
|
||||
|
||||
+2
-1
@@ -786,7 +786,8 @@ public class HealthUserEmployeeExServiceImpl extends ServiceImpl<HealthUserEmplo
|
||||
}
|
||||
List<String> bindUserIdList = watchApi.getBindUserIdList();
|
||||
if (!CollectionUtils.isEmpty(bindUserIdList)) {
|
||||
filter.setIdList(bindUserIdList);
|
||||
// 排除已绑定手表的用户,只展示未绑定用户
|
||||
filter.setExcludeUserIds(bindUserIdList);
|
||||
}
|
||||
IPage<UserEmployee> userEmployeeIPage = healthUserEmployeeExMapper.selectUserListByWatch(page, filter);
|
||||
if (CollectionUtils.isEmpty(userEmployeeIPage.getRecords())) {
|
||||
|
||||
Reference in New Issue
Block a user