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 shopActivitiesSalonRecordList); public int updateByMap(Map modifyMap); public int updateByModel(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord); public int deleteByIds(@Param("list") List list); public int deleteById(Long id); public int deleteByModel(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord); public List selectInPage(@Param("record") ShopActivitiesSalonRecord shopActivitiesSalonRecord, @Param("pageVo") PaginationVO pageVo); public List 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 selectSalonRecordByUserId(@Param("userId") String userId); }