| 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.ShopProductComment; | 
|   | 
| /** | 
|  * @description 产品评价 | 
|  * @author jiangyouyao | 
|  * @date 2019-06-14 10:06 | 
|  */ | 
| public interface ShopProductCommentDao{ | 
|   | 
|     public int insert(@Param("item") ShopProductComment shopProductComment); | 
|         | 
|        public int batchInsert(@Param("list") List<ShopProductComment> shopProductCommentList); | 
|         | 
|     public int updateByMap(Map<String, Object> modifyMap); | 
|      | 
|     public int updateByModel(@Param("record") ShopProductComment shopProductComment); | 
|   | 
|     //public int updateByIdsPass(@Param("list") List<String> list); | 
|   | 
|     //public int updateByIdsFailed(@Param("list") List<String> list); | 
|   | 
|     public int updateStatusByStateAndIds(@Param("list") List<String> list, @Param("state") int state, @Param("suName") String suName, @Param("suId") long suId); | 
|   | 
|     public int deleteByIds(@Param("list") List<String> list); | 
|      | 
|     public int deleteById(Integer comId); | 
|   | 
|     public int deleteByModel(@Param("record") ShopProductComment shopProductComment); | 
|      | 
|     public List<ShopProductComment> selectInPage(@Param("record") ShopProductComment shopProductComment, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<ShopProductComment> selectByModel(@Param("record") ShopProductComment shopProductComment); | 
|      | 
|     public int selectTotalRecord(@Param("record") ShopProductComment shopProductComment); | 
|      | 
|     public ShopProductComment  selectById(Integer comId); | 
|      | 
|     public ShopProductComment  selectForUpdate(Integer comId); | 
|   | 
|     public List<ShopProductComment>  selectByUserId(@Param("record") ShopProductComment shopProductComment); | 
|   | 
|     public List<ShopProductComment>  selectByProductId(@Param("record") ShopProductComment shopProductComment); | 
|   | 
|     public int selectByProductTotal(@Param("record") ShopProductComment shopProductComment); | 
|   | 
|   | 
| } |