|
@@ -121,7 +121,7 @@ public class AlarmSettingController {
|
|
|
@RequestMapping(value = "selectAttributes", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "根据设备id查询属性信息")
|
|
|
public AjaxMessage selectAttributes(@RequestParam(defaultValue = "") Integer sceneId, @ApiParam(value = "设备id", required = true)@RequestParam Integer deviceId) {
|
|
|
- if ( deviceId == null) {
|
|
|
+ if (deviceId == null) {
|
|
|
return AjaxMessage.fail(WaterErrorEnum.PARAM_ERROR);
|
|
|
}
|
|
|
return AjaxMessage.success(alarmSettingService.selectAttributes(deviceId,sceneId));
|