diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 551a37a7..b58605f4 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -192,3 +192,10 @@ iot:
# 允许访问的ip地址
allowed:
ips: 10.0.111.11,10.168.73.54,10.168.71.194
+ # Kafka配置
+kafka:
+ bootstrap-servers: 10.0.111.11:9092
+ producer:
+ key-serializer: org.apache.kafka.common.serialization.StringSerializer
+ value-serializer: org.apache.kafka.common.serialization.StringSerializer
+ topic: eventAi
diff --git a/zc-business/pom.xml b/zc-business/pom.xml
index ce688960..e5adad4b 100644
--- a/zc-business/pom.xml
+++ b/zc-business/pom.xml
@@ -101,7 +101,10 @@
com.ruoyi
ruoyi-quartz
-
+
+ org.springframework.kafka
+ spring-kafka
+
org.jsoup
jsoup
diff --git a/zc-business/src/main/java/com/zc/business/controller/DcTrafficSurveyDataController.java b/zc-business/src/main/java/com/zc/business/controller/DcTrafficSurveyDataController.java
index f51905e0..24aaff80 100644
--- a/zc-business/src/main/java/com/zc/business/controller/DcTrafficSurveyDataController.java
+++ b/zc-business/src/main/java/com/zc/business/controller/DcTrafficSurveyDataController.java
@@ -335,13 +335,22 @@ public class DcTrafficSurveyDataController extends BaseController
return dcTrafficSurveyDataService.selectDcTrafficSurveyDataList(dcTrafficSurveyData);
}
+ /**
+ * 查询一类交调数据列表
+ */
+ @GetMapping("/listNew")
+ public AjaxResult listNew(DcTrafficSurveyData dcTrafficSurveyData)
+ {
+ return dcTrafficSurveyDataService.selectDcTrafficSurveyDataListNew(dcTrafficSurveyData);
+ }
+
/**
* 导出一类交调数据列表
*/
@Log(title = "一类交调数据", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DcTrafficSurveyData dcTrafficSurveyData) throws IOException {
- AjaxResult ajaxResult = dcTrafficSurveyDataService.selectDcTrafficSurveyDataList(dcTrafficSurveyData);
+ AjaxResult ajaxResult = dcTrafficSurveyDataService.selectDcTrafficSurveyDataListNew(dcTrafficSurveyData);
if (ajaxResult.get("code").equals(UniversalEnum.TWO_HUNDRED.getNumber())) {
Map data = (Map) ajaxResult.get("data");
List