重置未完成任务时包括压缩中任务

This commit is contained in:
chuzhongzai 2024-06-08 03:11:52 +08:00
parent 27ceed8f4a
commit cca2980efa

View File

@ -25,7 +25,7 @@ public interface GalleryMapper {
@Select("select * from gallery where downloader=#{downloader}") @Select("select * from gallery where downloader=#{downloader}")
Gallery[] selectGalleryByDownloader(int downloader); Gallery[] selectGalleryByDownloader(int downloader);
@Select("select * from gallery where status in ('已提交', '下载中')") @Select("select * from gallery where status in ('已提交', '下载中', '压缩中')")
Gallery[] selectUnDoneGalleries(); Gallery[] selectUnDoneGalleries();
@Select("select * from gallery order by createTime") @Select("select * from gallery order by createTime")