diff --git a/ruoyi-oa/src/main/java/com/ruoyi/oa/mapper/OaReportDetailMapper.java b/ruoyi-oa/src/main/java/com/ruoyi/oa/mapper/OaReportDetailMapper.java new file mode 100644 index 0000000..d64d492 --- /dev/null +++ b/ruoyi-oa/src/main/java/com/ruoyi/oa/mapper/OaReportDetailMapper.java @@ -0,0 +1,17 @@ +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 { + @Select("SELECT url FROM sys_oss WHERE oss_id = #{ossId}") + String selectImageUrlByOssId(String ossId); +}