解决用户启用接口的bug
This commit is contained in:
@@ -103,7 +103,7 @@ public class UserService {
|
|||||||
Long userId = this.getUserId(request);
|
Long userId = this.getUserId(request);
|
||||||
if(userId!=null) {
|
if(userId!=null) {
|
||||||
UserExample example = new UserExample();
|
UserExample example = new UserExample();
|
||||||
example.createCriteria().andStatusEqualTo(BusinessConstants.USER_STATUS_NORMAL);
|
example.createCriteria().andStatusEqualTo(BusinessConstants.USER_STATUS_NORMAL).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
|
||||||
list = userMapper.selectByExample(example);
|
list = userMapper.selectByExample(example);
|
||||||
}
|
}
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
|
|||||||
Reference in New Issue
Block a user