...
This commit is contained in:
parent
0f4d2c0bd0
commit
f9d893c8e7
|
@ -290,13 +290,13 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
||||||
wrapper.eq("type", params.get("type").toString());
|
wrapper.eq("type", params.get("type").toString());
|
||||||
break;
|
break;
|
||||||
case "name":
|
case "name":
|
||||||
wrapper.like(StringUtils.isNotBlank(params.get("name").toString()), "name", params.get("name").toString());
|
wrapper.like(org.apache.commons.lang3.StringUtils.isNotEmpty(params.get("name").toString()), "name", params.get("name").toString());
|
||||||
break;
|
break;
|
||||||
case "creator":
|
case "creator":
|
||||||
wrapper.eq(StringUtils.isNotBlank(params.get("creator").toString()), "creator", params.get("creator").toString());
|
wrapper.eq(org.apache.commons.lang3.StringUtils.isNotEmpty(params.get("creator").toString()), "creator", params.get("creator").toString());
|
||||||
break;
|
break;
|
||||||
case "deptId":
|
case "deptId":
|
||||||
wrapper.eq(StringUtils.isNotBlank(params.get("deptId").toString()), "dept_id", Long.parseLong(params.get("deptId").toString()));
|
wrapper.eq(org.apache.commons.lang3.StringUtils.isNotEmpty(params.get("deptId").toString()), "dept_id", Long.parseLong(params.get("deptId").toString()));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue