yujian
2019-03-27 cdcbed9af813b2a02cdc01eefa24db8bec6b51a9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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();
    
}