package com.cyksj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.RealGoodsInterestUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.Date;

/*
 *项目名: netflix
 *文件名: RealGoodsInterestUserMapper
 *创建者: JavaZou
 *创建时间:2022/11/25 14:41
 */
public interface RealGoodsInterestUserMapper extends BaseMapper<RealGoodsInterestUser> {

	@Update("update real_goods_interest_user set sku_id = #{skuId},order_id = #{orderId},order_created_time = #{orderCreatedTime} where id = #{id}")
	void updateData(@Param("id") Long id, @Param("skuId") Long skuId, @Param("orderCreatedTime") Date orderCreatedTime, @Param("orderId") Long orderId);
}
