| | |
| | | package com.lf.server.mapper.data; |
| | | |
| | | import com.lf.server.entity.data.DownloadEntity; |
| | | import com.lf.server.entity.sys.AttachEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param limit 记录表 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<DownloadEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 根据用户ID查询记录数(在线制图) |
| | | * |
| | | * @param createUser 用户ID |
| | | * @param types 类别 |
| | | * @param name 名称 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCountForUser(Integer createUser, String types, String name); |
| | | |
| | | /** |
| | | * 根据用户ID分页查询(在线制图) |
| | | * |
| | | * @param createUser 用户ID |
| | | * @param types 类别 |
| | | * @param name 名称 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<DownloadEntity> selectByPageForUser(Integer createUser, String types, String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |