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
46
package com.matrix.system.shopXcx.dao;
 
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.shopXcx.bean.ShopCollection;
 
/**
 * @description 收藏
 * @author jiangyouyao
 * @date 2019-06-11 20:46
 */
public interface ShopCollectionDao{
 
    public int insert(@Param("item") ShopCollection shopCollection);
       
       public int batchInsert(@Param("list") List<ShopCollection> shopCollectionList);
       
    public int updateByMap(Map<String, Object> modifyMap);
    
    public int updateByModel(@Param("record") ShopCollection shopCollection);
    
    public int deleteByIds(@Param("list") List<String> list);
    
    public int deleteById(Integer collId);
 
    public int deleteByProductId(Map<String, Object> deleteMap);
 
    public int deleteByModel(@Param("record") ShopCollection shopCollection);
    
    public List<ShopCollection> selectInPage(@Param("record") ShopCollection shopCollection, @Param("pageVo") PaginationVO pageVo);
 
    public List<ShopCollection> selectByModel(@Param("record") ShopCollection shopCollection);
    
    public int selectTotalRecord(@Param("record") ShopCollection shopCollection);
    
    public ShopCollection  selectById(Integer collId);
    
    public ShopCollection  selectForUpdate(Integer collId);
 
    public List<ShopCollection> selectByUserId(@Param("record") ShopCollection shopCollection);
 
    public List<ShopCollection> selectByUserIdAndProid(@Param("collProductid") Integer collProductid,@Param("collUserId") String collUserId);
 
}