content: package com.platform.admin.mapper;
  
  import com.platform.admin.entity.JobTemplate;
  import org.apache.ibatis.annotations.Mapper;
  import org.apache.ibatis.annotations.Param;
  
  import java.util.List;
  
  @Mapper
  public interface JobTemplateMapper {
  
  	public List<JobTemplate> pageList(@Param("offset") int offset,
  									  @Param("pagesize") int pagesize,
  									  @Param("jobGroup") int jobGroup,
  									  @Param("jobDesc") String jobDesc,
  									  @Param("executorHandler") String executorHandler,
  									  @Param("userId") int userId,
  									  @Param("projectIds") Integer[] projectIds);
  
  	public int pageListCount(@Param("offset") int offset,
                               @Param("pagesize") int pagesize,
                               @Param("jobGroup") int jobGroup,
                               @Param("jobDesc") String jobDesc,
                               @Param("executorHandler") String executorHandler,
                               @Param("userId") int userId,
  							 @Param("projectIds") Integer[] projectIds);
  
  	public int save(JobTemplate info);
  
  	public JobTemplate loadById(@Param("id") int id);
  
  	public int update(JobTemplate jobTemplate);
  
  	public int delete(@Param("id") long id);
  
  }
  