cuilei
7 天以前 767ba5a54ca5597de816015f387981776b928f7b
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamInspectionOrderMapper.xml
@@ -3,7 +3,7 @@
<mapper namespace="org.jeecg.modules.eam.mapper.EamInspectionOrderMapper">
    <select id="queryPageList" resultType="org.jeecg.modules.eam.entity.EamInspectionOrder">
        select wmo.*, e.equipment_code, e.equipment_name
        select wmo.*, e.equipment_code, e.equipment_name, e.installation_position
        from eam_inspection_order wmo
        inner join eam_equipment e
        on wmo.equipment_id = e.id
@@ -29,4 +29,10 @@
        and err.inspection_date &lt; #{end}
        group by FORMAT(err.inspection_date, 'yyyy-MM')
    </select>
    <select id="selectUnReceivedInspectionOrder" resultType="org.jeecg.modules.eam.entity.EamInspectionOrder">
        select eio.*,ee.org_id
        from eam_inspection_order eio
        left join eam_equipment ee on eio.equipment_id = ee.id
        where eio.inspection_status = 'WAIT_INSPECTION' and eio.del_flag = 0
    </select>
</mapper>