package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.MercDeviceRefundImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 商户设备订单退款图片表 Mapper 接口
 * </p>
 *
 * @author crystal
 * @since 2022-03-31
 */
public interface MercDeviceRefundImageMapper extends BaseMapper<MercDeviceRefundImage> {

    /**
     * 根据detailId获取图片列表
     * @param id
     * @return
     */
    @Select("SELECT picUrl FROM tb_pluss_merc_device_refund_image WHERE detailId = #{id}")
    List<String> selectListByDetailId(Serializable id);
}
