package com.cxyxiaomo.epp.shop.dao;

import com.cxyxiaomo.epp.common.pojo.Good;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GoodsDao {

    List<Good> list(@Param("cateId") Integer cateId, @Param("searchText") String searchText);

    Good getById(Long id);
}
