inspect-server/src/main/resources/mapper/InsReportMapper.xml
@@ -82,7 +82,10 @@
    <!-- 报告报表导出 -->
    <select id="reportAllExport" resultType="com.ruoyi.inspect.dto.InsReportExport">
        select code,
        case when report_type = 0 then '检测报告' else '检验报告' end                         report_type_name,
        case
        when inspection_url is not null and inspection_url != '' then '检测报告、检验报告'
        when report_type = 0 then '检测报告'
        else '检验报告' end                                                               report_type_name,
        case when type_source = 0 then '成品下单' else '原材料下单' end                    type_source,
        case
        when order_type = '抽检' then '抽检'