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
package com.matrix.system.shopXcx.dao;
 
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.shopXcx.bean.ShopShareQrcord;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @description 分享二维码
 * @author jyy
 * @date 2019-09-18 09:42
 */
public interface ShopShareQrcordDao{
 
    public int insert(@Param("item") ShopShareQrcord shopShareQrcord);
       
       public int batchInsert(@Param("list") List<ShopShareQrcord> shopShareQrcordList);
       
    public int updateByMap(Map<String, Object> modifyMap);
    
    public int updateByModel(@Param("record") ShopShareQrcord shopShareQrcord);
    
    public int deleteByIds(@Param("list") List<String> list);
    
    public int deleteById(Integer id);
 
    public int deleteByModel(@Param("record") ShopShareQrcord shopShareQrcord);
    
    public List<ShopShareQrcord> selectInPage(@Param("record") ShopShareQrcord shopShareQrcord, @Param("pageVo") PaginationVO pageVo);
 
    public List<ShopShareQrcord> selectByModel(@Param("record") ShopShareQrcord shopShareQrcord);
    
    public int selectTotalRecord(@Param("record") ShopShareQrcord shopShareQrcord);
    
    public ShopShareQrcord  selectById(Integer id);
    
    public ShopShareQrcord  selectForUpdate(Integer id);
 
    ShopShareQrcord selectUserQrcode( @Param("shopId")Long shopId, @Param("productId") Integer productId, @Param("openId") String openId);
}