| | |
| | | sd.name rentName, |
| | | di.device_number, |
| | | di.serial_no, |
| | | dll.delivery_date |
| | | dll.delivery_date, |
| | | di.file_path |
| | | from |
| | | device_inventory di |
| | | join device_leasing_ledger_item dlli on |
| | |
| | | where |
| | | di.id =#{id} |
| | | </select> |
| | | <select id="selectListByClassId" resultType="com.by4cloud.platformx.device.entity.vo.DeviceClassVo"> |
| | | select |
| | | di.device_id , |
| | | d.class_id , |
| | | d.number , |
| | | d.name, |
| | | d.specification, |
| | | di.serial_no |
| | | from |
| | | device_inventory di |
| | | join device d on |
| | | d.id = di.device_id |
| | | where |
| | | di.del_flag = '0' |
| | | and d.class_id = #{classId} |
| | | </select> |
| | | </mapper> |