mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	[fix] 修改文件查询方法
This commit is contained in:
		| @@ -27,4 +27,7 @@ public class FilePageReqVO extends PageParam { | ||||
|     @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | ||||
|     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::getType, reqVO.getType()) | ||||
|                 .betweenIfPresent(FileDO::getCreateTime, reqVO.getCreateTime()) | ||||
|                 .eqIfPresent(FileDO::getCategoryId, reqVO.getCategoryId()) | ||||
|                 .orderByDesc(FileDO::getId)); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user