From c16ca04b474d445cde54332045db19458863709e Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 26 八月 2024 19:42:11 +0800
Subject: [PATCH] 设备增加厂商类型
---
ycl-server/src/main/java/com/ycl/platform/mapper/CheckScoreMapper.java | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/platform/mapper/CheckScoreMapper.java b/ycl-server/src/main/java/com/ycl/platform/mapper/CheckScoreMapper.java
index 59510a7..42a0ce9 100644
--- a/ycl-server/src/main/java/com/ycl/platform/mapper/CheckScoreMapper.java
+++ b/ycl-server/src/main/java/com/ycl/platform/mapper/CheckScoreMapper.java
@@ -3,9 +3,11 @@
import annotation.AutoFill;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ycl.platform.domain.dto.CheckScoreDTO;
+import com.ycl.platform.domain.dto.ScoreIndexDTO;
import com.ycl.platform.domain.entity.CheckScore;
import enumeration.OperationType;
+import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -68,5 +70,24 @@
@AutoFill(OperationType.UPDATE)
int publishCheckScore(CheckScoreDTO checkScoreDTO);
- List<Map> selectScoreIndex(String tableName,Long deptId,String date);
+ List<Map> selectScoreIndex(ScoreIndexDTO scoreIndexDTO);
+
+ void saveBatch(List<CheckScore> scoreList);
+
+ List<CheckScore> selectCheckScoreMap(CheckScore checkScore);
+
+ /**
+ * 棣栭〉鑰冩牳棰勮
+ * @return 鏁版嵁
+ */
+ List<Map<String, Object>> home();
+
+ /**
+ * 棣栭〉鏍哥畻
+ * @param startDate 鏈湀绗竴澶�
+ * @param endDate 褰撳墠鏃堕棿
+ * @param category 鍒嗙被
+ * @return 鏁版嵁
+ */
+ List<Map<String, Object>> calculate(Date startDate, Date endDate, String category);
}
--
Gitblit v1.8.0