From 5da02311d99ca78c0fc18647c3a8348f56fe9330 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 05 九月 2024 21:55:13 +0800
Subject: [PATCH] 考核结果导出优化
---
ycl-server/src/main/java/com/ycl/platform/service/ICheckScoreService.java | 30 ++++++++++++++++++++++++++----
1 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/platform/service/ICheckScoreService.java b/ycl-server/src/main/java/com/ycl/platform/service/ICheckScoreService.java
index 0d3f138..6754ff1 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/ICheckScoreService.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/ICheckScoreService.java
@@ -1,6 +1,7 @@
package com.ycl.platform.service;
import com.baomidou.mybatisplus.extension.service.IService;
+import com.ycl.platform.domain.dto.CheckResultExportDTO;
import com.ycl.platform.domain.dto.CheckScoreDTO;
import com.ycl.platform.domain.dto.CheckScoreIndexDTO;
import com.ycl.platform.domain.entity.CheckScore;
@@ -13,7 +14,7 @@
/**
* 鑰冩牳绉垎鏄庣粏Service鎺ュ彛
- *
+ *
* @author ruoyi
* @date 2024-04-22
*/
@@ -21,7 +22,7 @@
{
/**
* 鏌ヨ鑰冩牳绉垎鏄庣粏
- *
+ *
* @param
* @return 鑰冩牳绉垎鏄庣粏
*/
@@ -29,18 +30,39 @@
/**
* 鏌ヨ鑰冩牳绉垎鏄庣粏鍒楄〃
- *
+ *
* @param checkScore 鑰冩牳绉垎鏄庣粏
* @return 鑰冩牳绉垎鏄庣粏闆嗗悎
*/
public Map<Long, List<CheckScore>> selectCheckScoreList(CheckScore checkScore);
+
+ /**
+ * 鏌ヨ鑰冩牳绉垎鎶樼嚎鍥炬暟鎹�
+ *
+ * @param checkScore 鑰冩牳绉垎鍙傛暟
+ * @return 鑰冩牳绉垎鎶樼嚎鍥�
+ */
+ Map<Long, List<CheckScore>> selectCheckScoreChart(CheckScore checkScore);
int publishCheckScore(CheckScoreDTO checkScoreDTO);
List<CheckScore> page(CheckScore checkScore);
- void exportIndex(HttpServletResponse response,CheckScore checkScore) throws IOException;
+ void exportIndex(HttpServletResponse response, CheckResultExportDTO exportDTO) throws IOException;
+
+ /**
+ * 棣栭〉鑰冩牳棰勮
+ * @return 鏁版嵁
+ */
+ List<Map<String, Object>> home();
+
+
+ /**
+ * 棣栭〉鏍哥畻
+ * @return 鏍哥畻
+ */
+ List<Map<String, Object>> calculate(String category);
// /**
// * 鏂板鑰冩牳绉垎鏄庣粏
// *
--
Gitblit v1.8.0