增加文件列表参数

This commit is contained in:
TinyAnts 2022-04-18 16:10:47 +08:00
parent 59e6432f38
commit dbae2a702b
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ public class AlbumServiceImpl implements IAlbumService {
.eq("is_delete", 0)
.orderByDesc("id");
if (params.get("cid") != null) {
queryWrapper.eq("cid", Integer.parseInt(params.get("cid")));
}
albumMapper.setSearch(queryWrapper, params, new String[]{
"like:keyword:str",
"=:type:int"