mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-01 19:24:57 +08:00
[fix] 修改文件查询方法
This commit is contained in:
parent
bfb567b9cf
commit
ca78b91424
@ -27,4 +27,7 @@ public class FilePageReqVO extends PageParam {
|
|||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
|
@Schema(description = "目录id", example = "12345646")
|
||||||
|
private Long categoryId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,7 @@ public interface FileMapper extends BaseMapperX<FileDO> {
|
|||||||
.likeIfPresent(FileDO::getPath, reqVO.getPath())
|
.likeIfPresent(FileDO::getPath, reqVO.getPath())
|
||||||
.likeIfPresent(FileDO::getType, reqVO.getType())
|
.likeIfPresent(FileDO::getType, reqVO.getType())
|
||||||
.betweenIfPresent(FileDO::getCreateTime, reqVO.getCreateTime())
|
.betweenIfPresent(FileDO::getCreateTime, reqVO.getCreateTime())
|
||||||
|
.eqIfPresent(FileDO::getCategoryId, reqVO.getCategoryId())
|
||||||
.orderByDesc(FileDO::getId));
|
.orderByDesc(FileDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user