xuhy
2024-10-30 660f4451c140a9da1f4bb92721a403b128dbdaf7
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TGoodsMapper.java
@@ -5,6 +5,7 @@
import com.ruoyi.system.domain.TGoods;
import com.ruoyi.system.query.TGoodsQuery;
import com.ruoyi.system.vo.TGoodsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -17,6 +18,7 @@
 * @author xiaochen
 * @since 2024-08-14
 */
@Mapper
public interface TGoodsMapper extends BaseMapper<TGoods> {
    /**
@@ -26,4 +28,10 @@
     * @return
     */
    List<TGoodsVO> pageList(@Param("query") TGoodsQuery query, @Param("pageInfo") PageInfo<TGoodsVO> pageInfo);
    /**
     * 根据商家id删除商品管理
     * @param shopId
     */
    void deleteByShopId(@Param("shopId")Long shopId);
}