From 8051d95ad4ce8e126c4eb8cf76c8fa99fcf46c7e Mon Sep 17 00:00:00 2001
From: chenhao <852066789@qq.com>
Date: Mon, 16 Jun 2025 17:06:07 +0800
Subject: [PATCH] =?UTF-8?q?refactor(sip):=20=E9=87=8D=E6=9E=84=E9=A1=B9?=
=?UTF-8?q?=E7=9B=AE=E4=BF=A1=E6=81=AF=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 使用 EasyExcel 替代原 ExcelUtil工具类
- 优化项目信息导出逻辑,支持自定义表头和数据格式
-增加产品和服务信息的导出
- 修复模板中字段名称错误和字段缺失问题
- 优化代码结构,提高可读性和可维护性
---
.../templates/manage/delivery/import.html | 2 +-
.../resources/templates/project/info/add.html | 24 +-
.../templates/project/info/edit.html | 22 +-
.../templates/project/info/selectProduct.html | 4 +-
.../project/order/selectProduct.html | 4 +-
.../templates/system/customer/edit.html | 2 +-
ruoyi-common/pom.xml | 6 +
.../com/ruoyi/common/utils/poi/ExcelUtil.java | 26 +-
.../sip/controller/ProjectInfoController.java | 11 +-
.../ProjectOrderInfoController.java | 5 +-
.../com/ruoyi/sip/domain/ProjectInfo.java | 129 ++++---
.../ruoyi/sip/domain/ProjectProductInfo.java | 18 +-
.../ruoyi/sip/domain/ProjectWorkProgress.java | 2 +-
.../sip/mapper/ProjectProductInfoMapper.java | 2 +-
.../sip/mapper/ProjectWorkProgressMapper.java | 2 +-
.../sip/service/IProjectInfoService.java | 2 +-
.../sip/service/IProjectOrderInfoService.java | 2 +
.../service/IProjectProductInfoService.java | 2 +-
.../service/IProjectWorkProgressService.java | 2 +-
.../service/impl/ProjectInfoServiceImpl.java | 328 +++++++++++++++++-
.../impl/ProjectOrderInfoServiceImpl.java | 303 +++++++++++++++-
.../impl/ProjectPocInfoServiceImpl.java | 3 +-
.../impl/ProjectProductInfoServiceImpl.java | 4 +-
.../impl/ProjectWorkProgressServiceImpl.java | 2 +-
.../mapper/sip/ProjectProductInfoMapper.xml | 6 +-
.../mapper/sip/ProjectWorkProgressMapper.xml | 6 +-
26 files changed, 791 insertions(+), 128 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/templates/manage/delivery/import.html b/ruoyi-admin/src/main/resources/templates/manage/delivery/import.html
index 9e800bb2..41ad8528 100644
--- a/ruoyi-admin/src/main/resources/templates/manage/delivery/import.html
+++ b/ruoyi-admin/src/main/resources/templates/manage/delivery/import.html
@@ -37,7 +37,7 @@
-