From c5dfc09145e4e10f99dbf388a4a1433b5c2973e5 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:40:38 +0000
Subject: [PATCH] 适应高版本Nodejs对应修改(二)
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/service/ContractService.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 49 insertions(+), 4 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/service/ContractService.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/service/ContractService.java
index 8d00812..8960030 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/service/ContractService.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/service/ContractService.java
@@ -21,11 +21,11 @@
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;
-import java.math.BigDecimal;
-import java.util.Map;
-import java.util.List;
-import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.math.BigDecimal;
+import java.util.List;
+import java.util.Map;
/**
* @website https://eladmin.vip
@@ -83,6 +83,14 @@
* @throws IOException /
*/
void download(List<ContractDto> all, HttpServletResponse response) throws IOException;
+
+ /**
+ * 导出数据(新)
+ * @param criteria 条件参数
+ * @param response /
+ * @throws IOException /
+ */
+ void download(ContractQueryCriteria criteria, HttpServletResponse response) throws IOException;
/**
* 查询合同款总金额
@@ -146,4 +154,41 @@
* @return Map<String, Object>
*/
Map<String, Object> batchUpload(MultipartFile file);
+
+ /**
+ * 预警
+ * @param ids
+ * @return
+ */
+ void addWarningStatus(Long[] ids);
+
+ /**
+ * 下载合同附件
+ *
+ * @param id
+ * @return Map<String, Object>
+ */
+ void downloadContractAttachments(Long id, HttpServletResponse response);
+
+ /**
+ * 查询合同统计
+ *
+ * @param criteria
+ * @param type
+ * @return Map<String, Object>
+ */
+ Map<String, Object> contractStatistics(ContractQueryCriteria criteria, Integer type);
+
+ /**
+ * 合同季度统计推送
+ */
+ void contractQuarterlyReport(String statisticsDate);
+
+ /**
+ * 导出数据(表格内容)
+ * @param all 待导出的数据
+ * @param response /
+ * @throws IOException /
+ */
+ void downloadTable(List<ContractDto> all, HttpServletResponse response) throws IOException;
}
\ No newline at end of file
--
Gitblit v1.9.3