package cn.reghao.tnb.content.app.mall.db.mapper;

import cn.reghao.jutil.jdk.web.db.BaseMapper;
import cn.reghao.tnb.content.api.dto.ItemSnapshot;
import cn.reghao.tnb.content.app.mall.model.po.ProductSnapshot;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author reghao
 * @date 2024-04-26 16:37:48
 */
@Mapper
public interface ProductSnapshotMapper extends BaseMapper<ProductSnapshot> {
    ProductSnapshot findByOrderId(long orderId);
    ItemSnapshot findItemSnapshotByOrderId(long orderId);
}
