mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-02 11:11:57 +08:00
feat(api): add selectByAttributeIdAndDeviceId
This commit is contained in:
+10
@@ -74,6 +74,16 @@ public interface DriverInfoClient {
|
||||
@GetMapping("/id/{id}")
|
||||
R<DriverInfo> selectById(@NotNull @PathVariable(value = "id") Long id);
|
||||
|
||||
/**
|
||||
* 根据 属性ID 和 设备ID 查询 DriverInfo
|
||||
*
|
||||
* @param attributeId Attribute Id
|
||||
* @param deviceId Device Id
|
||||
* @return DriverInfo
|
||||
*/
|
||||
@GetMapping("/attributeId/{attributeId}/deviceId/{deviceId}")
|
||||
R<DriverInfo> selectByAttributeIdAndDeviceId(@NotNull @PathVariable(value = "attributeId") Long attributeId, @NotNull @PathVariable(value = "deviceId") Long deviceId);
|
||||
|
||||
/**
|
||||
* 分页查询 DriverInfo
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user