|
|
@ -8,6 +8,7 @@ import org.dromara.business.domain.BusinessAlert; |
|
|
|
import org.dromara.business.domain.bo.BusinessAlertBo; |
|
|
|
import org.dromara.business.domain.vo.BusinessAlertVo; |
|
|
|
import org.dromara.business.service.IBusinessAlertService; |
|
|
|
import org.dromara.common.core.domain.R; |
|
|
|
import org.dromara.common.mybatis.core.page.PageQuery; |
|
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|
|
|
import org.dromara.common.web.core.BaseController; |
|
|
@ -65,8 +66,8 @@ public class BusinessAlertController extends BaseController { |
|
|
|
*/ |
|
|
|
@Operation(summary ="ai实时流预警保存",description = "ai实时流预警保存") |
|
|
|
@PostMapping("/saveAlertList") |
|
|
|
public void saveAlert(@RequestBody List<BusinessAlertVo> alertVoList) { |
|
|
|
public R saveAlert(@RequestBody List<BusinessAlertVo> alertVoList) { |
|
|
|
businessAlertService.addBusinessAlertList(alertVoList); |
|
|
|
|
|
|
|
return R.ok(); |
|
|
|
} |
|
|
|
} |
|
|
|