Commit bc2f4542 authored by 唐峰's avatar 唐峰

.

parent 3e35d046
......@@ -188,7 +188,7 @@ public class UserServiceImpl implements IUserService, IBaseController {
Pageable pageable = new PageRequest(0, 500, new Sort(Sort.Direction.DESC, "id"));
Page<User> userPageList = userRepository.findAll((root, query, cb) -> {
query.where(root.get(Constants.ENCRYPTED_PHONE_NO).as(String.class).in(phones)
, root.get("tenant_id").as(Integer.class).in(tenantId))
, root.get("tenantId").as(Integer.class).in(tenantId))
;
return query.getRestriction();
}, pageable);
......
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