admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/BoutiqueAutoRuleMapper.java
@@ -1,41 +1,41 @@
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();
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();
}