jyy
2021-03-18 b4990fac3b5cd0a936369dc51f8b3593b6478730
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
42
43
44
45
package com.matrix.system.shopXcx.dao;
 
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.shopXcx.bean.ShopAdvertis;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @description 广告表
 * @author jyy
 * @date 2019-06-05 10:15
 */
public interface ShopAdvertisDao{
 
    public int insert(@Param("item") ShopAdvertis shopAdvertis);
       
       public int batchInsert(@Param("list") List<ShopAdvertis> shopAdvertisList);
       
    public int updateByMap(Map<String, Object> modifyMap);
    
    public int updateByModel(@Param("record") ShopAdvertis shopAdvertis);
    
    public int deleteByIds(@Param("list") List<String> list);
    
    public int deleteById(Integer id);
 
    public int deleteByModel(@Param("record") ShopAdvertis shopAdvertis);
    
    public List<ShopAdvertis> selectInPage(@Param("record") ShopAdvertis shopAdvertis, @Param("pageVo") PaginationVO pageVo);
 
    public List<ShopAdvertis> selectByModel(@Param("record") ShopAdvertis shopAdvertis);
    
    public int selectTotalRecord(@Param("record") ShopAdvertis shopAdvertis);
    
    public ShopAdvertis  selectById(Integer id);
    
    public ShopAdvertis  selectForUpdate(Integer id);
 
    List<ShopAdvertis>  selectListByType(@Param("type") String type, @Param("capacity") Integer capacity);
 
    List<ShopAdvertis>  selectListByTypeId(@Param("adtId") Integer adtId, @Param("capacity") Integer capacity);
 
}