| 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.ShopActivitiesSalonRecord; | 
|   | 
| /** | 
|  * @description 沙 | 
|  * @author wzy | 
|  * @date 2020-03-21 15:26 | 
|  */ | 
| public interface ShopActivitiesSalonRecordDao{ | 
|   | 
|     public int insert(@Param("item") ShopActivitiesSalonRecord shopActivitiesSalonRecord); | 
|         | 
|        public int batchInsert(@Param("list") List<ShopActivitiesSalonRecord> shopActivitiesSalonRecordList); | 
|         | 
|     public int updateByMap(Map<String, Object> modifyMap); | 
|      | 
|     public int updateByModel(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord); | 
|      | 
|     public int deleteByIds(@Param("list") List<String> list); | 
|      | 
|     public int deleteById(Long id); | 
|   | 
|     public int deleteByModel(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord); | 
|      | 
|     public List<ShopActivitiesSalonRecord> selectInPage(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<ShopActivitiesSalonRecord> selectByModel(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord); | 
|      | 
|     public int selectTotalRecord(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord); | 
|      | 
|     public ShopActivitiesSalonRecord  selectById(Long id); | 
|      | 
|     public ShopActivitiesSalonRecord  selectForUpdate(Long id); | 
|   | 
|     public ShopActivitiesSalonRecord selectSalonRecordByUserIdAndActId(@Param("userId") String userId,@Param("actId") Long actId); | 
|   | 
|     public List<ShopActivitiesSalonRecord> selectSalonRecordByUserId(@Param("userId") String userId); | 
| } |