This commit is contained in:
wangliwen 2022-04-29 17:57:49 +08:00
parent 604ddc049e
commit c994be67d2
1 changed files with 2 additions and 2 deletions

View File

@ -64,10 +64,10 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
wrapper.eq("type", params.get("type").toString());
break;
case "name":
wrapper.like(StringUtils.isNotBlank(params.get("name").toString()),"name", params.get("name").toString());
wrapper.like(StringUtils.isNotBlank(params.get("name").toString()), "name", params.get("name").toString());
break;
case "creator":
wrapper.eq(StringUtils.isNotBlank(params.get("creator").toString()),"creator", params.get("creator").toString());
wrapper.eq(StringUtils.isNotBlank(params.get("creator").toString()), "creator", params.get("creator").toString());
break;
}
});