package com.ruoyi.oa.mapper;

import com.ruoyi.oa.domain.OaReportDetail;
import com.ruoyi.oa.domain.vo.OaReportDetailVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Select;

/**
 * 设计项目汇报详情Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-13
 */
public interface OaReportDetailMapper extends BaseMapperPlus<OaReportDetailMapper, OaReportDetail, OaReportDetailVo> {
    @Select("SELECT url FROM sys_oss WHERE oss_id = #{ossId}")
    String selectImageUrlByOssId(String ossId);


    OaReportDetailVo selectVoByIdPlus(Long id);
}
