From fbc647f0a11ad0c3ab2a17191d71a4ab205d3d70 Mon Sep 17 00:00:00 2001 From: lyf_ <764716047@qq.com> Date: 星期四, 29 六月 2023 09:16:07 +0800 Subject: [PATCH] 修改redis配置 --- incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/baseService/AccidentReportInfoService.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/baseService/AccidentReportInfoService.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/baseService/AccidentReportInfoService.java index dd5694b..a515cc6 100644 --- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/baseService/AccidentReportInfoService.java +++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/service/baseService/AccidentReportInfoService.java @@ -2,10 +2,9 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; -import com.gkhy.safePlatform.incidentManage.entity.AccidentReportInfo; -import com.gkhy.safePlatform.incidentManage.entity.AccidentReportInfoDetailDO; -import com.gkhy.safePlatform.incidentManage.entity.AccidentReportInfoPageDO; +import com.gkhy.safePlatform.incidentManage.entity.*; import com.gkhy.safePlatform.incidentManage.query.db.AccidentReportDBQuery; +import com.gkhy.safePlatform.incidentManage.query.db.AccidentReportCountDBQuery; import java.util.List; @@ -21,4 +20,14 @@ void updateAccidentReport(AccidentReportInfo AccidentReportInfo); void deleteAccidentReportById(Long teamId); + + List<AccidentReportCount> selectByTimeAndType(AccidentReportCountDBQuery dbQuery); + + List<AccidentReportCountRPC> getCountForRPCByDeptIdAndMonth(String startTime, String endTime, Long deptId); + + List<AccidentReportCountRPC> getCountForRPCByDeptIdAndDay(String startTime, String endTime, Long deptId); + + List<AccidentResultCountDO> getAccidentCountByDeptIdsAndTime(String startTime, String endTime, List<Long> deptIds); + + List<AccidentResultCountDO> getAccidentCountByDeptIdAndTime(String startTime, String endTime, Long deptId); } -- Gitblit v1.9.2