mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-28 07:36:38 +08:00
修复用户管理搜索bug
This commit is contained in:
@@ -89,6 +89,12 @@ public class FlowController extends BaseController {
|
||||
if (!isValidNode(secret)) {
|
||||
return SUCCESS_RESPONSE;
|
||||
}
|
||||
if (flowDataList.isEmpty()) {
|
||||
return SUCCESS_RESPONSE;
|
||||
}
|
||||
if(Objects.equals(flowDataList.get(0).getN(), "web_api")){
|
||||
return SUCCESS_RESPONSE;
|
||||
}
|
||||
|
||||
|
||||
// 2. 解析服务名称获取ID信息
|
||||
|
||||
@@ -440,8 +440,6 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
||||
// 关键字搜索
|
||||
if (StrUtil.isNotBlank(pageDto.getKeyword())) {
|
||||
queryWrapper.and(wrapper -> wrapper
|
||||
.like("name", pageDto.getKeyword())
|
||||
.or()
|
||||
.like("user", pageDto.getKeyword())
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user