mirror of
https://github.com/WeiYe-Jing/datax-web.git
synced 2026-07-03 21:08:58 +08:00
update: 模糊查询
This commit is contained in:
parent
f13daa3c90
commit
65a63aa086
@ -86,6 +86,9 @@ public class JobJdbcDatasourceController extends ApiController {
|
||||
//遍历进行字段查询条件组装
|
||||
columnQueryMap.forEach((k, v) -> {
|
||||
switch (k) {
|
||||
case "datasourceName":
|
||||
queryWrapper.like(StrUtil.toUnderlineCase(k), v);
|
||||
break;
|
||||
default:
|
||||
queryWrapper.eq(StrUtil.toUnderlineCase(k), v);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user