| | |
| | | on e.id = ext.id |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <select id="selectSecondMaintenanceEquipmentList" resultType="org.jeecg.modules.eam.entity.EamEquipment"> |
| | | select e.*, |
| | | ext.latest_second_maintenance, |
| | | ext.next_second_maintenance, |
| | | ext.technology_status, |
| | | ext.third_maintenance_period, |
| | | ext.technology_check_period, |
| | | ext.latest_technology_check, |
| | | ext.next_technology_check, |
| | | ext.technology_generate_flag |
| | | from eam_equipment e |
| | | left join eam_equipment_extend ext |
| | | on e.id = ext.id |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <select id="echartsList" resultType="org.jeecg.modules.eam.dto.EchartsDto"> |
| | | WITH TotalCount AS ( |
| | | SELECT COUNT(a.id) AS total_count |