From 8e6063e12e664176711c931c6968ba1aa75883b9 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Thu, 17 Apr 2025 10:44:04 +0800 Subject: [PATCH] 2025-04-17 --- .../spring/modules/quote/service/impl/QuoteServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 025c26b3..e782eb77 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 @@ -214,10 +214,10 @@ public class QuoteServiceImpl extends ServiceImpl implements throw new RuntimeException("币种不能为空"); } if (Objects.isNull(quotation.getQty())){ - throw new RuntimeException("数量不能为空"); + throw new RuntimeException("MOQ不能为空"); } if (quotation.getQty().compareTo(BigDecimal.ZERO) <= 0) { - throw new RuntimeException("数量不能小于等于0"); + throw new RuntimeException("MOQ不能小于等于0"); } Quote quote = new Quote(); // 1、获取bu和site