解决用户启用接口的bug

This commit is contained in:
jishenghua
2024-12-10 23:27:22 +08:00
parent 5ea6c63c32
commit 40bbdb8a1c

View File

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