Commit 9478c761 authored by 李欣峰's avatar 李欣峰

<dev>

1.修改查看我的api(getMyApi)模糊查询不准确问题2
parent bc6a5347
......@@ -439,7 +439,7 @@ public class ApiServiceApplicationImpl implements ApiApplication {
predicates.add(keywordPredicate1);
}
if (StringUtils.isNotBlank(datasource)) {
String datasourceWord = StrUtil.builder("%", "\"name\"" + ":" + "\"" + datasource, "%").toString();
String datasourceWord = StrUtil.builder("%", "name\"" + ":" + "\"" + datasource, "%").toString();
Predicate keywordPredicate2 = criteriaBuilder.and(criteriaBuilder.like(root.get("datasource"), datasourceWord));
predicates.add(keywordPredicate2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment