| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.sql.Timestamp; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param uname 用户名 |
| | | * @param status 审核状态 |
| | | * @param start 开始时间 |
| | | * @param end 结束时间 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(Integer userid); |
| | | public Integer selectCount(String uname, Integer status, Timestamp start, Timestamp end); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param uname 用户名 |
| | | * @param status 审核状态 |
| | | * @param start 开始时间 |
| | | * @param end 结束时间 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<ApplyEntity> selectByPage(Integer userid, Integer limit, Integer offset); |
| | | public List<ApplyEntity> selectByPage(Integer userid, String uname, Integer status, Timestamp start, Timestamp end, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |