|
@@ -42,6 +42,15 @@ public class IotWarnreceiverController extends BaseController{
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
|
+ *根据配置查询接收人列表
|
|
|
|
|
+ */
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('iot:warn:receiver:list')")
|
|
|
|
|
+ @GetMapping("/config/list")
|
|
|
|
|
+ public AjaxResult listByWcBid(String wcBid){
|
|
|
|
|
+ List<IotWarnreceiver> list = iotWarnreceiverService.selectIotWarnreceiversByWcBid(wcBid);
|
|
|
|
|
+ return AjaxResult.success(list);
|
|
|
|
|
+ }
|
|
|
|
|
+ /**
|
|
|
* 导出告警接收者列表
|
|
* 导出告警接收者列表
|
|
|
*/
|
|
*/
|
|
|
@PreAuthorize("@ss.hasPermi('iot:warn:receiver:export')")
|
|
@PreAuthorize("@ss.hasPermi('iot:warn:receiver:export')")
|