提交 9917cd52 编写于 作者: sq3536's avatar sq3536
此差异已折叠。
...@@ -37,7 +37,7 @@ public class BladeVisualCategorySearchContext extends QueryWrapperContext<BladeV ...@@ -37,7 +37,7 @@ public class BladeVisualCategorySearchContext extends QueryWrapperContext<BladeV
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("category_value", query) wrapper.like("category_value", query)
); );
} }
} }
......
...@@ -37,7 +37,7 @@ public class BladeVisualMapSearchContext extends QueryWrapperContext<BladeVisual ...@@ -37,7 +37,7 @@ public class BladeVisualMapSearchContext extends QueryWrapperContext<BladeVisual
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("name", query) wrapper.like("name", query)
); );
} }
} }
......
...@@ -51,7 +51,7 @@ public class BladeVisualSearchContext extends QueryWrapperContext<BladeVisual> { ...@@ -51,7 +51,7 @@ public class BladeVisualSearchContext extends QueryWrapperContext<BladeVisual> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("title", query) wrapper.like("title", query)
); );
} }
} }
......
...@@ -93,7 +93,7 @@ public class DstComponentSearchContext extends QueryWrapperContext<DstComponent> ...@@ -93,7 +93,7 @@ public class DstComponentSearchContext extends QueryWrapperContext<DstComponent>
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("cname", query) wrapper.like("cname", query)
); );
} }
} }
......
...@@ -72,7 +72,7 @@ public class DstConfigSearchContext extends QueryWrapperContext<DstConfig> { ...@@ -72,7 +72,7 @@ public class DstConfigSearchContext extends QueryWrapperContext<DstConfig> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("cfgtype", query) wrapper.like("cfgtype", query)
); );
} }
} }
......
...@@ -51,7 +51,7 @@ public class DstDataSourceSearchContext extends QueryWrapperContext<DstDataSourc ...@@ -51,7 +51,7 @@ public class DstDataSourceSearchContext extends QueryWrapperContext<DstDataSourc
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("dsname", query) wrapper.like("dsname", query)
); );
} }
} }
......
...@@ -79,7 +79,7 @@ public class DstRouterSearchContext extends QueryWrapperContext<DstRouter> { ...@@ -79,7 +79,7 @@ public class DstRouterSearchContext extends QueryWrapperContext<DstRouter> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("routername", query) wrapper.like("routername", query)
); );
} }
} }
......
...@@ -44,7 +44,7 @@ public class DstSystemSearchContext extends QueryWrapperContext<DstSystem> { ...@@ -44,7 +44,7 @@ public class DstSystemSearchContext extends QueryWrapperContext<DstSystem> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("pssystemname", query) wrapper.like("pssystemname", query)
); );
} }
} }
......
...@@ -86,7 +86,7 @@ public class DstViewSearchContext extends QueryWrapperContext<DstView> { ...@@ -86,7 +86,7 @@ public class DstViewSearchContext extends QueryWrapperContext<DstView> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("viewname", query) wrapper.like("viewname", query)
); );
} }
} }
......
...@@ -72,7 +72,7 @@ public class MetaDataSetSearchContext extends QueryWrapperContext<MetaDataSet> { ...@@ -72,7 +72,7 @@ public class MetaDataSetSearchContext extends QueryWrapperContext<MetaDataSet> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("datasetname", query) wrapper.like("datasetname", query)
); );
} }
} }
......
...@@ -128,7 +128,7 @@ public class MetaEntitySearchContext extends QueryWrapperContext<MetaEntity> { ...@@ -128,7 +128,7 @@ public class MetaEntitySearchContext extends QueryWrapperContext<MetaEntity> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("entityname", query) wrapper.like("entityname", query)
); );
} }
} }
......
...@@ -163,10 +163,10 @@ public class MetaFieldSearchContext extends QueryWrapperContext<MetaField> { ...@@ -163,10 +163,10 @@ public class MetaFieldSearchContext extends QueryWrapperContext<MetaField> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("fieldname", query) wrapper.like("fieldname", query)
.or().like("fieldlogicname", query) .or().like("fieldlogicname", query)
.or().like("fielduniname", query) .or().like("fielduniname", query)
.or().like("fieldshowname", query) .or().like("fieldshowname", query)
); );
} }
} }
......
...@@ -65,7 +65,7 @@ public class MetaModelSearchContext extends QueryWrapperContext<MetaModel> { ...@@ -65,7 +65,7 @@ public class MetaModelSearchContext extends QueryWrapperContext<MetaModel> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("modelname", query) wrapper.like("modelname", query)
); );
} }
} }
......
...@@ -58,7 +58,7 @@ public class MetaModuleSearchContext extends QueryWrapperContext<MetaModule> { ...@@ -58,7 +58,7 @@ public class MetaModuleSearchContext extends QueryWrapperContext<MetaModule> {
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("modulename", query) wrapper.like("modulename", query)
); );
} }
} }
......
...@@ -100,7 +100,7 @@ public class MetaRelationshipSearchContext extends QueryWrapperContext<MetaRelat ...@@ -100,7 +100,7 @@ public class MetaRelationshipSearchContext extends QueryWrapperContext<MetaRelat
this.query=query; this.query=query;
if(!StringUtils.isEmpty(query)){ if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper -> this.getSearchCond().and( wrapper ->
wrapper.like("relationname", query) wrapper.like("relationname", query)
); );
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册