lyh
2 天以前 9a9697c55fa66821cf74165ac2ae820182dae94d
lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml
@@ -48,11 +48,17 @@
        </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,
              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>
</mapper>