From 57937bbf2c14451d6ec2f0e74cc9cb5c4248ea84 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 14 Oct 2026 10:18:26 +0800 Subject: [PATCH] =?UTF-8?q?2026-10-14=20=E5=BE=85=E6=8A=A5=E4=BB=B7?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E3=80=90=E6=8A=A5=E4=BB=B7=E3=80=91=E6=97=B6?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E6=A0=A1=E9=AA=8C=E9=A1=B9=E7=9B=AE=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=BF=85=E9=A1=BB=E6=98=AF=E2=80=9C=E5=B7=B2=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/spring/modules/quote/service/impl/QuoteServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/spring/modules/quote/service/impl/QuoteServiceImpl.java b/src/main/java/com/spring/modules/quote/service/impl/QuoteServiceImpl.java index 96f59ea2..382ef106 100644 --- a/src/main/java/com/spring/modules/quote/service/impl/QuoteServiceImpl.java +++ b/src/main/java/com/spring/modules/quote/service/impl/QuoteServiceImpl.java @@ -280,7 +280,7 @@ public class QuoteServiceImpl extends ServiceImpl implements if (quotation.getQty().compareTo(BigDecimal.ZERO) <= 0) { throw new RuntimeException("MOQ不能小于等于0"); } - PlmProjectInfo project = assertProjectCompleted(quotation.getSite(), quotation.getProjectId()); + PlmProjectInfo project = getProjectOrThrow(quotation.getSite(), quotation.getProjectId()); Quote quote = new Quote(); // 1、获取bu和site quote.setStatus("草稿");