| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int selectDeviceCount(int id) throws Exception; |
| | | public AjaxResult selectDeviceCount(int id) throws Exception; |
| | | |
| | | /** |
| | | * 根据登录用户的id查询设备的使用人数 |
| | |
| | | * @throws Exception |
| | | */ |
| | | public int selectUserDeviceByCount(int id) throws Exception; |
| | | |
| | | /** |
| | | * 查询所有的设备 |
| | | * |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<Device> selectDeviceAll() throws Exception; |
| | | |
| | | /** |
| | | * 根据设备编号查询简介设备 |
| | |
| | | * @param device 设备 |
| | | * @return 设备集合 |
| | | */ |
| | | public List<DeviceShortOutput> selectDeviceShortList(Device device); |
| | | public List<DeviceShortOutput> selectDeviceShortList(Device device, boolean repairFlag); |
| | | |
| | | /** |
| | | * 新增设备 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int updateDeviceUserBySN(List<String> snList, Long userId); |
| | | |
| | | } |