package com.backendsys.modules.b2c.good.dao;

import com.backendsys.modules.b2c.good.entity.Good;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GoodDao extends BaseMapper<Good> {

    // 获取商品列表
    List<Map<String, Object>> selectGoodList(Good good);
    // 获取商品详情
    Map<String, Object> selectGoodDetail(Good good);

}
