This commit is contained in:
2022-04-09 21:44:03 +08:00
commit 34e481f0a5
26 changed files with 1693 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.weilab.biology.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weilab.biology.core.data.dto.JobLessDto;
import com.weilab.biology.core.data.po.Job;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.python.modules.itertools.count;
import java.util.List;
/**
* Created by skyyemperor on 2021-09-19
* Description :
*/
@Mapper
public interface JobMapper extends BaseMapper<Job> {
List<Job> selectRunningJobs();
Job selectNextWaitingJob();
List<Job> selectJobList(@Param("type") Integer type,
@Param("count") Integer count);
}