package org.dromara.zhishu.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.zhishu.domain.ShopImg;
import org.dromara.zhishu.domain.vo.ShopImgVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 店铺图片Mapper接口
 *
 * @author yxy
 * @date 2025-03-17
 */
@Mapper
public interface ShopImgMapper extends BaseMapperPlus<ShopImg, ShopImgVo> {

    List<ShopImgVo> selectVoByShopId(String pid);

    int deleteByPidAndType(@Param("pid") String pid,@Param("type") String type);
}
