lyh
5 天以前 ba11a11662a027e89f3e86d063b3234aeeb76d83
lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml
@@ -61,4 +61,17 @@
        and aar.del_flag=0
        ${ew.customSqlSegment}
    </select>
    <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>