| | |
| | | public int selectUserDeviceByCount(int id) throws Exception; |
| | | |
| | | /** |
| | | * 根据登录的用户角色查询滤芯寿命清单列表 |
| | | * |
| | | * @param device |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<Device> selectCartridgeLifeList(Device device) throws Exception; |
| | | |
| | | /** |
| | | * 查询所有的设备 |
| | | * |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<Device> selectDeviceAll() throws Exception; |
| | | |
| | | /** |
| | | * 根据设备id查询设备 |
| | | * |
| | | * @param deviceId 设备主键 |
| | | * @return 设备 |
| | | */ |
| | | public Device selectDeviceById(Long deviceId); |
| | | |
| | | /** |
| | | * 根据设备编号查询设备 |
| | | * |
| | | * @param serialNumber 设备主键 |
| | |
| | | */ |
| | | public int deleteDeviceByDeviceIds(Long[] deviceIds); |
| | | |
| | | // /** |
| | | // * 查询设备序列号的数量 |
| | | // * |
| | | // * @param deviceNum |
| | | // * @return |
| | | // */ |
| | | // public int getDeviceNumCount(String deviceNum); |
| | | /** |
| | | * 查询设备序列号的数量 |
| | | * |
| | | * @param deviceNum |
| | | * @return |
| | | */ |
| | | public int getDeviceNumCount(String deviceNum); |
| | | |
| | | /** |
| | | * 根据设备IDS删除设备分组 |