src/main/java/com/lf/server/mapper/data/TaskMapper.java
@@ -16,20 +16,22 @@ /** * 查询记录数 * * @param name 任务名称 * @param name 任务名称 * @param status 任务状态 * @return 记录数 */ public Integer selectCount(String name); public Integer selectCount(String name, Integer status); /** * 分页查询 * * @param name 任务名称 * @param status 任务状态 * @param limit 记录数 * @param offset 偏移量 * @return 列表 */ public List<TaskEntity> selectByPage(String name, Integer limit, Integer offset); public List<TaskEntity> selectByPage(String name, Integer status, Integer limit, Integer offset); /** * 查询所有