feat(api): add selectByAttributeIdAndDeviceId

This commit is contained in:
pnoker
2021-07-31 19:48:16 +08:00
parent 2c92c7495a
commit cc4e2db014
@@ -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
*