From 22b57a30be7f73e13585ae4bd4925f0c66846ba9 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 11 六月 2026 14:52:57 +0800
Subject: [PATCH] feat(production): 优化工单查询接口按订单维度分组并新增订单明细查询
---
src/main/java/com/ruoyi/sales/service/impl/SalesQuotationServiceImpl.java | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/service/impl/SalesQuotationServiceImpl.java b/src/main/java/com/ruoyi/sales/service/impl/SalesQuotationServiceImpl.java
index 983e717..6cb4970 100644
--- a/src/main/java/com/ruoyi/sales/service/impl/SalesQuotationServiceImpl.java
+++ b/src/main/java/com/ruoyi/sales/service/impl/SalesQuotationServiceImpl.java
@@ -118,17 +118,17 @@
log.error("SalesQuotationServiceImpl approve error for quotationNo: {}", e);
throw new RuntimeException("瀹℃壒澶辫触: " + e.getMessage(), e);
}
- // 鎶ヤ环瀹℃壒
- ApprovalInstanceDto approvalInstanceDto = new ApprovalInstanceDto();
- approvalInstanceDto.setTemplateId(salesQuotationDto.getTemplateId());
- approvalInstanceDto.setBusinessId(salesQuotationDto.getId());
- approvalInstanceDto.setBusinessType(7L);
- approvalInstanceDto.setTitle("鎶ヤ环缂栧彿锛�" + quotationNo);
- approvalInstanceDto.setApplicantId(SecurityUtils.getUserId());
- approvalInstanceDto.setTemplateName(approvalTemplateMapper.selectById(salesQuotationDto.getTemplateId()).getTemplateName());
- approvalInstanceDto.setApplicantName(SecurityUtils.getLoginUser().getNickName());
- approvalInstanceDto.setApplyTime(LocalDateTime.now());
- approvalInstanceService.add(approvalInstanceDto);
+// // 鎶ヤ环瀹℃壒
+// ApprovalInstanceDto approvalInstanceDto = new ApprovalInstanceDto();
+// approvalInstanceDto.setTemplateId(salesQuotationDto.getTemplateId());
+// approvalInstanceDto.setBusinessId(salesQuotationDto.getId());
+// approvalInstanceDto.setBusinessType(7L);
+// approvalInstanceDto.setTitle("鎶ヤ环缂栧彿锛�" + quotationNo);
+// approvalInstanceDto.setApplicantId(SecurityUtils.getUserId());
+// approvalInstanceDto.setTemplateName(approvalTemplateMapper.selectById(salesQuotationDto.getTemplateId()).getTemplateName());
+// approvalInstanceDto.setApplicantName(SecurityUtils.getLoginUser().getNickName());
+// approvalInstanceDto.setApplyTime(LocalDateTime.now());
+// approvalInstanceService.add(approvalInstanceDto);
return true;
}
@Override
--
Gitblit v1.9.3