package com.yeshi.fanli.dao.mybatis.lable;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.entity.bus.lable.BoutiqueAutoRule;
|
import com.yeshi.fanli.entity.bus.lable.Label;
|
|
public interface BoutiqueAutoRuleMapper {
|
|
int deleteByPrimaryKey(Long id);
|
|
int insert(BoutiqueAutoRule record);
|
|
int insertSelective(BoutiqueAutoRule record);
|
|
BoutiqueAutoRule selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(BoutiqueAutoRule record);
|
|
int updateByPrimaryKey(BoutiqueAutoRule record);
|
|
|
/**
|
* 查询规则
|
*/
|
List<BoutiqueAutoRule> query(@Param("start") long start, @Param("count") int count,
|
@Param("source") Integer source, @Param("key") String key,
|
@Param("state") Integer state, @Param("sort") Integer sort);
|
|
long queryCount(@Param("source") Integer source, @Param("key") String key, @Param("state") Integer state);
|
|
|
/**
|
* 查询所有启用任务
|
* @return
|
*/
|
List<BoutiqueAutoRule> queryStart();
|
|
}
|