,value="select * from device_info where id = (select device_info_id from device_archives_tag where id = (select shelf_id from archives_case where id = ?1))")
,value="select * from device_info where id = (select device_info_id from device_archives_tag where id = (select shelf_id from archives_case where id = ?1))")
DeviceInfofindDeviceByCaseId(StringcaseId);
@Query(nativeQuery=true,
countQuery="select * from device_info where device_type_id in (select id from device_type where name in ('密集架','回转柜'))",
value="select * from device_info where device_type_id in (select id from device_type where name in ('密集架','回转柜')) order by create_time asc")
countQuery="select * from device_info where device_type_id in (select id from device_type where name in ('密集架','回转柜'))",
value="select * from device_info where device_type_id in (select id from device_type where name in ('密集架','回转柜')) order by create_time asc")