| New file |
| | |
| | | package com.ard.route.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.ard.route.domain.ArdRouteFile; |
| | | |
| | | /** |
| | | * 文件Mapper接口 |
| | | * |
| | | * @author xia |
| | | * @date 2025-10-18 |
| | | */ |
| | | public interface ArdRouteFileMapper { |
| | | |
| | | /** |
| | | * 查询文件 |
| | | * |
| | | * @param id 文件主键 |
| | | * @return 文件 |
| | | */ |
| | | public ArdRouteFile selectArdRouteFileById(String id); |
| | | |
| | | /** |
| | | * 查询文件列表 |
| | | * |
| | | * @param ardRouteFile 文件 |
| | | * @return 文件集合 |
| | | */ |
| | | public List<ArdRouteFile> selectArdRouteFileList(ArdRouteFile ardRouteFile); |
| | | |
| | | /** |
| | | * 新增文件 |
| | | * |
| | | * @param ardRouteFile 文件 |
| | | * @return 结果 |
| | | */ |
| | | public int insertArdRouteFile(ArdRouteFile ardRouteFile); |
| | | |
| | | /** |
| | | * 修改文件 |
| | | * |
| | | * @param ardRouteFile 文件 |
| | | * @return 结果 |
| | | */ |
| | | public int updateArdRouteFile(ArdRouteFile ardRouteFile); |
| | | |
| | | /** |
| | | * 删除文件 |
| | | * |
| | | * @param id 文件主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArdRouteFileById(String id); |
| | | |
| | | /** |
| | | * 批量删除文件 |
| | | * |
| | | * @param ids 需要删除的数据主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArdRouteFileByIds(String[] ids); |
| | | |
| | | /** |
| | | * 根据所属文件夹ID,删除文件 |
| | | * |
| | | * @param folderId 所属文件夹ID |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArdRouteFileByFolderId(String folderId); |
| | | } |