From 41445b32cdc8662ecaaba8fe2768780f551065b2 Mon Sep 17 00:00:00 2001
From: chenhao <852066789@qq.com>
Date: Wed, 21 May 2025 10:54:46 +0800
Subject: [PATCH 1/3] =?UTF-8?q?feat(sip):=20=E4=BC=98=E5=8C=96=E5=8F=91?=
=?UTF-8?q?=E8=B4=A7=E5=8D=95=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增发货单编码生成逻辑
- 修改发货单列表导出功能
-调整订单编辑页面字段显示- 优化模板下载功能
---
.../src/main/resources/templates/index.html | 2 +-
.../resources/templates/manage/order/add.html | 27 ++++-----
.../templates/manage/order/edit.html | 32 +++++-----
.../sip/controller/OrderInfoController.java | 2 +-
.../com/ruoyi/sip/domain/OrderDelivery.java | 1 +
.../ruoyi/sip/mapper/OrderDeliveryMapper.java | 3 +
.../impl/OrderDeliveryServiceImpl.java | 7 +++
.../ruoyi/sip/utils/CodeGeneratorUtil.java | 59 +++++++++++++++++++
.../mapper/manage/OrderDeliveryMapper.xml | 14 +++++
9 files changed, 114 insertions(+), 33 deletions(-)
create mode 100644 ruoyi-sip/src/main/java/com/ruoyi/sip/utils/CodeGeneratorUtil.java
diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html
index 6b9a4264..da436479 100644
--- a/ruoyi-admin/src/main/resources/templates/index.html
+++ b/ruoyi-admin/src/main/resources/templates/index.html
@@ -26,7 +26,7 @@
Copyright: Copyright(c) 2025+ *
Company : 紫光汇智信息技术有限公司+ * Modification History: + * Date Author Version Discription + * -------------------------------------------------------------------------- + * 2025/05/21 ch 1.0 Why & What is modified: <修改原因描述> * + */ +public class CodeGeneratorUtil { + + private static final String DELIMITER = "-"; + private static final Map