You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
870 B
Java
26 lines
870 B
Java
package com.ibeetl.jlw.dao;
|
|
|
|
import com.ibeetl.jlw.entity.Competition;
|
|
import com.ibeetl.jlw.web.query.CompetitionQuery;
|
|
import org.beetl.sql.core.engine.PageQuery;
|
|
import org.beetl.sql.mapper.BaseMapper;
|
|
import org.beetl.sql.mapper.annotation.SqlResource;
|
|
import org.beetl.sql.mapper.annotation.Update;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
* Competition Dao
|
|
*/
|
|
@SqlResource("jlw.competition")
|
|
public interface CompetitionDao extends BaseMapper<Competition>{
|
|
public PageQuery<Competition> queryByCondition(PageQuery query);
|
|
public PageQuery<Competition> queryByCondition2Student(PageQuery query);
|
|
@Update
|
|
public void deleteCompetitionByIds(String ids);
|
|
@Update
|
|
public int updateClassIdsNullById(Long competitionId);
|
|
public List<Competition> getValuesByQuery(CompetitionQuery competitionQuery);
|
|
public Competition getById(Long competitionId);
|
|
} |