解决查用户列表不过滤的bug

This commit is contained in:
季圣华
2020-04-25 17:44:35 +08:00
parent 5774580b0b
commit c77aef9dd1

View File

@@ -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);