| | |
| | | <select id="selectDeviceParameterPage" resultType="com.yuanchu.mom.dto.DeviceDto"> |
| | | select * from( |
| | | SELECT |
| | | d.*, u.name equipmentManagerUser, l.laboratory_name laboratoryName, i.inspection_item insProductItem |
| | | d.*, u.name equipmentManagerUser, l.laboratory_name laboratoryName |
| | | FROM |
| | | device d |
| | | left join `user` u on u.id = d.equipment_manager |
| | | left join laboratory l on l.id = d.subordinate_departments_id |
| | | left join ins_product i on i.id = d.ins_product_ids |
| | | ) a |
| | | <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> |
| | | ${ew.customSqlSegment} |