lyh
15 小时以前 ce3f55e4daea0640fd5065b8e655c3b177e79b9b
lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml
@@ -48,11 +48,31 @@
        </where>
        ORDER BY t1.create_time DESC
    </select>
    <select id="queryPageList" resultType="org.jeecg.modules.eam.entity.EamReportRepair">
        select wmo.*, e.equipment_code, e.equipment_name, e.installation_position
    <select id="queryPageList" resultType="org.jeecg.modules.eam.dto.EamReportRepairDto">
        select wmo.*, e.equipment_code, e.equipment_name,e.equipment_model, e.installation_position,
               e.factory_org_code,
              aar.operation_certificate, power_off_restart, batch_first_piece, variable_factors,
              variable_factors_value, execute_nc, accident_phenomenon, measure, causing_results
        from eam_report_repair wmo
        inner join eam_equipment e
        on wmo.equipment_id = e.id
        and e.del_flag=0
        left join eam_report_accidents_register aar
        on wmo.id = aar.report_id
        and aar.del_flag=0
        ${ew.customSqlSegment}
    </select>
</mapper>
    <select id="queryList" resultType="org.jeecg.modules.eam.dto.EamReportRepairDto">
        select wmo.*, e.equipment_code, e.equipment_name,e.equipment_model, e.installation_position,
               aar.operation_certificate, power_off_restart, batch_first_piece, variable_factors,
               variable_factors_value, execute_nc, accident_phenomenon, measure, causing_results
        from eam_report_repair wmo
                 inner join eam_equipment e
                            on wmo.equipment_id = e.id
                                and e.del_flag=0
                 left join eam_report_accidents_register aar
                           on wmo.id = aar.report_id
                               and aar.del_flag=0
            ${ew.customSqlSegment}
    </select>
</mapper>