From 9e7ee2d8ad0b8684a2e13de7fe7838d79e09478b Mon Sep 17 00:00:00 2001 From: SZH <szh_hello@163.com> Date: 星期二, 23 八月 2022 16:43:01 +0800 Subject: [PATCH] 修改数据库连接配置 增加环境配置文件 --- incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/impl/AccidentCountServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/impl/AccidentCountServiceImpl.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/impl/AccidentCountServiceImpl.java index bcadd55..e68f8bd 100644 --- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/impl/AccidentCountServiceImpl.java +++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/impl/AccidentCountServiceImpl.java @@ -6,7 +6,7 @@ import com.gkhy.safePlatform.incidentManage.entity.*; import com.gkhy.safePlatform.incidentManage.model.dto.resp.*; import com.gkhy.safePlatform.incidentManage.query.AccidentReportCountQuery; -import com.gkhy.safePlatform.incidentManage.query.db.AccidentReportRPCDBQuery; +import com.gkhy.safePlatform.incidentManage.query.db.AccidentReportCountDBQuery; import com.gkhy.safePlatform.incidentManage.service.AccidentCountService; import com.gkhy.safePlatform.incidentManage.service.baseService.AccidentReportInfoService; import com.gkhy.safePlatform.incidentManage.utils.TimeUtils; @@ -26,7 +26,7 @@ public ResultVO<List<AccidentReportCountRespDTO>> countAccidentReport(AccidentReportCountQuery query) { List<AccidentReportCount> list = new ArrayList<>(); - AccidentReportRPCDBQuery dbQuery = new AccidentReportRPCDBQuery(); + AccidentReportCountDBQuery dbQuery = new AccidentReportCountDBQuery(); if (query.getType() == 1) { // 月 int year = query.getYear(); -- Gitblit v1.9.2