| | |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamMaintenanceStandardMapper"> |
| | | <select id="queryPageList" resultType="org.jeecg.modules.eam.entity.EamMaintenanceStandard"> |
| | | select ems.*, e.equipment_code, e.equipment_name, |
| | | e.equipment_model |
| | | e.equipment_model,f.process_instance_id as 'procInstId' |
| | | from eam_maintenance_standard ems |
| | | inner join eam_equipment e |
| | | on ems.equipment_id = e.id |
| | | left join flow_my_business f |
| | | on f.data_id=ems.id |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="queryList" resultType="org.jeecg.modules.eam.entity.EamEquipment"> |
| | | SELECT |
| | | e.*, |
| | | ems.id as 'maintenanceStandardId', |
| | | ems.standard_name as 'maintenanceStandardName' |
| | | FROM |
| | | eam_equipment e |
| | | INNER JOIN eam_maintenance_standard ems ON ems.equipment_id = e.id |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | </mapper> |