package com.yeshi.fanli.dao.mybatis.homemodule;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.entity.bus.homemodule.SpecialLabel;
|
|
public interface SpecialLabelMapper extends BaseMapper<SpecialLabel> {
|
|
/**
|
* 批量删除
|
* @param list 主键id
|
* @return
|
*/
|
int deleteByPrimaryKeyBatch(List<Long> list);
|
|
|
/**
|
* 查询列表-后台
|
* @param start
|
* @param count
|
* @param key
|
* @param state
|
* @return
|
*/
|
List<SpecialLabel> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key, @Param("state")Integer state);
|
|
long countQuery(@Param("key") String key, @Param("state")Integer state);
|
|
|
/**
|
* 查询专题标题
|
* @param specialId
|
* @return
|
*/
|
List<SpecialLabel> getLabelsBySpecialId(@Param("specialId")Long specialId);
|
|
}
|