Browse Source

[feat]

1、ai实时流预警保存
master
杨威 2 months ago
parent
commit
354798c127
  1. 2
      dk-modules/business/src/main/java/org/dromara/business/controller/BusinessAlertController.java

2
dk-modules/business/src/main/java/org/dromara/business/controller/BusinessAlertController.java

@ -55,7 +55,7 @@ public class BusinessAlertController extends BaseController {
vo.setBusinessType(2); vo.setBusinessType(2);
BusinessAlert businessAlert = businessAlertService.addBusinessAlert(vo); BusinessAlert businessAlert = businessAlertService.addBusinessAlert(vo);
RemoteStartProcess startProcess = new RemoteStartProcess(); RemoteStartProcess startProcess = new RemoteStartProcess();
startProcess.setBusinessId(businessAlert.getAlertId()); startProcess.setBusinessId(String.valueOf(businessAlert.getId()));
startProcess.setFlowCode("alertChz"); startProcess.setFlowCode("alertChz");
remoteWorkflowService.startWorkFlowBatch(List.of(startProcess)); remoteWorkflowService.startWorkFlowBatch(List.of(startProcess));
} }

Loading…
Cancel
Save