123456789101112131415161718 |
- package cn.sagacloud.mybatis.mapper;
- import cn.sagacloud.mybatis.model.DownloadTaskModel;
- import cn.sagacloud.mybatis.model.TaskModel;
- import org.apache.ibatis.annotations.Param;
- import java.util.ArrayList;
- import java.util.List;
- public interface TaskMapper {
- int addTask(TaskModel task);
- int addDownload(@Param("list")List<DownloadTaskModel> downloadTaskModelList, @Param("taskId")int id) ;
- ArrayList<TaskModel> getTasksByIds(List<Integer> idList);
- ArrayList<TaskModel> getTasksByStatus(List<Integer> statusList);
- }
|