解决查用户列表不过滤的bug
This commit is contained in:
@@ -68,6 +68,7 @@ public class UserService {
|
|||||||
|
|
||||||
public List<User> getUser()throws Exception {
|
public List<User> getUser()throws Exception {
|
||||||
UserExample example = new UserExample();
|
UserExample example = new UserExample();
|
||||||
|
example.createCriteria().andStatusEqualTo(BusinessConstants.USER_STATUS_NORMAL);
|
||||||
List<User> list=null;
|
List<User> list=null;
|
||||||
try{
|
try{
|
||||||
list=userMapper.selectByExample(example);
|
list=userMapper.selectByExample(example);
|
||||||
|
|||||||
Reference in New Issue
Block a user