提交 1a872a80 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 部署微服务接口

上级 e6779e6f
......@@ -88,7 +88,9 @@ public class SysAuthLogSearchContext extends QueryWrapperContext<SysAuthLog> {
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("username",query);
this.getSelectCond().and( wrapper ->
wrapper.like("username", query)
);
}
}
}
......
......@@ -42,7 +42,9 @@ public class SysPSSystemSearchContext extends QueryWrapperContext<SysPSSystem> {
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("pssystemname",query);
this.getSelectCond().and( wrapper ->
wrapper.like("pssystemname", query)
);
}
}
}
......
......@@ -63,7 +63,9 @@ public class SysPermissionSearchContext extends QueryWrapperContext<SysPermissio
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("sys_permissionname",query);
this.getSelectCond().and( wrapper ->
wrapper.like("sys_permissionname", query)
);
}
}
}
......
......@@ -77,7 +77,9 @@ public class SysRolePermissionSearchContext extends QueryWrapperContext<SysRoleP
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("sys_permissionid",query);
this.getSelectCond().and( wrapper ->
wrapper.like("sys_permissionid", query)
);
}
}
}
......
......@@ -60,7 +60,9 @@ public class SysRoleSearchContext extends QueryWrapperContext<SysRole> {
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("sys_rolename",query);
this.getSelectCond().and( wrapper ->
wrapper.like("sys_rolename", query)
);
}
}
}
......
......@@ -63,7 +63,9 @@ public class SysUserRoleSearchContext extends QueryWrapperContext<SysUserRole> {
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("sys_userid",query);
this.getSelectCond().and( wrapper ->
wrapper.like("sys_userid", query)
);
}
}
}
......
......@@ -49,7 +49,9 @@ public class SysUserSearchContext extends QueryWrapperContext<SysUser> {
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSelectCond().or().like("personname",query);
this.getSelectCond().and( wrapper ->
wrapper.like("personname", query)
);
}
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册