From 247a4a1f10f233c89a4bd054dee3cb9b7d4a76f1 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期三, 19 十一月 2025 08:40:12 +0800
Subject: [PATCH] 新增数据上传准东
---
src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventReportConfigServiceImpl.java | 91 ++++++++++++++++++++++++---------------------
1 files changed, 48 insertions(+), 43 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventReportConfigServiceImpl.java b/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventReportConfigServiceImpl.java
index 0c6dc49..1e0b45f 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventReportConfigServiceImpl.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventReportConfigServiceImpl.java
@@ -1,43 +1,48 @@
-package com.ruoyi.doublePrevention.service.baseService.impl;
-
-import com.ruoyi.doublePrevention.entity.PreventReportConfig;
-import com.ruoyi.doublePrevention.repository.PreventReportConfigRepository;
-import com.ruoyi.doublePrevention.repository.param.PreventReportConfigUpdateParams;
-import com.ruoyi.doublePrevention.service.baseService.PreventReportConfigService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-import java.util.List;
-
-@Service("PreventReportConfigService")
-public class PreventReportConfigServiceImpl implements PreventReportConfigService {
-
- @Autowired
- private PreventReportConfigRepository preventReportConfigRepository;
-
- /**
- * 数据上报配置-查询
- */
- @Override
- public List<PreventReportConfig> ListReportConfigs() {
- return preventReportConfigRepository.ListReportConfigs();
- }
-
- /**
- * 数据上报配置-修改
- */
- @Override
- public int updateReportConfig(PreventReportConfigUpdateParams updateParams) {
- return preventReportConfigRepository.updateReportConfig(updateParams);
- }
-
- /**
- * 数据上报配置-按照id查询
- */
- @Override
- public PreventReportConfig getReportConfigById(int Id) {
- return preventReportConfigRepository.selectById(Id);
- }
-
-
-}
+package com.ruoyi.doublePrevention.service.baseService.impl;
+
+import com.ruoyi.doublePrevention.entity.PreventReportConfig;
+import com.ruoyi.doublePrevention.repository.PreventReportConfigRepository;
+import com.ruoyi.doublePrevention.repository.param.PreventReportConfigUpdateParams;
+import com.ruoyi.doublePrevention.service.baseService.PreventReportConfigService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service("PreventReportConfigService")
+public class PreventReportConfigServiceImpl implements PreventReportConfigService {
+
+ @Autowired
+ private PreventReportConfigRepository preventReportConfigRepository;
+
+ /**
+ * 数据上报配置-查询
+ */
+ @Override
+ public List<PreventReportConfig> ListReportConfigs() {
+ return preventReportConfigRepository.ListReportConfigs();
+ }
+
+ /**
+ * 数据上报配置-修改
+ */
+ @Override
+ public int updateReportConfig(PreventReportConfigUpdateParams updateParams) {
+ return preventReportConfigRepository.updateReportConfig(updateParams);
+ }
+
+ /**
+ * 数据上报配置-按照id查询
+ */
+ @Override
+ public PreventReportConfig getReportConfigById(int Id) {
+ return preventReportConfigRepository.selectById(Id);
+ }
+
+ @Override
+ public Integer getSpecPushData() {
+ return preventReportConfigRepository.getSpecPushData();
+ }
+
+
+}
--
Gitblit v1.9.2