| package com.matrix.system.shopXcx.dao; | 
|   | 
| import com.matrix.system.shopXcx.dto.ProductAttrInfoDTO; | 
| import org.apache.ibatis.annotations.Param; | 
| import java.util.List; | 
| import java.util.Map; | 
| import java.util.Set; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.shopXcx.bean.ShopProductAttrRef; | 
|   | 
| /** | 
|  * @description 产品属性关联表 | 
|  * @author jyy | 
|  * @date 2019-06-10 10:58 | 
|  */ | 
| public interface ShopProductAttrRefDao{ | 
|   | 
|     public int insert(@Param("item") ShopProductAttrRef shopProductAttrRef); | 
|         | 
|        public int batchInsert(@Param("list") List<ShopProductAttrRef> shopProductAttrRefList); | 
|         | 
|     public int updateByMap(Map<String, Object> modifyMap); | 
|      | 
|     public int updateByModel(@Param("record") ShopProductAttrRef shopProductAttrRef); | 
|      | 
|     public int deleteByIds(@Param("list") List<String> list); | 
|      | 
|     public int deleteById(Integer id); | 
|   | 
|     public int deleteByModel(@Param("record") ShopProductAttrRef shopProductAttrRef); | 
|      | 
|     public List<ShopProductAttrRef> selectInPage(@Param("record") ShopProductAttrRef shopProductAttrRef, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<ShopProductAttrRef> selectByModel(@Param("record") ShopProductAttrRef shopProductAttrRef); | 
|      | 
|     public int selectTotalRecord(@Param("record") ShopProductAttrRef shopProductAttrRef); | 
|      | 
|     public ShopProductAttrRef  selectById(Integer id); | 
|      | 
|     public ShopProductAttrRef  selectForUpdate(Integer id); | 
|   | 
|     public List<ShopProductAttrRef> selectByPid(Integer pid); | 
|   | 
|     List<ProductAttrInfoDTO> selectAttrIdsByProductIds(@Param("productIds") List<Integer> productIds); | 
|      | 
| } |