修复用户管理搜索bug

This commit is contained in:
qaq
2025-07-01 16:43:16 +08:00
parent 79a00f9f12
commit d7339af37b
2 changed files with 6 additions and 2 deletions
@@ -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())
);
}