From 32bf2bed7dc2a14afeb50b72723570eaf295e316 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 28 五月 2026 09:53:35 +0800
Subject: [PATCH] feat(purchase): 新增采购草稿简易新增功能并完善生产订单库存数量显示
---
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