|
@@ -54,6 +54,7 @@ import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.validation.Valid;
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.time.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.time.LocalTime;
|
|
@@ -303,6 +304,10 @@ public class UserOrderController extends BaseController {
|
|
|
|
|
|
order.setTenantId(student.getTenantId());
|
|
|
|
|
|
+ if (orderReq.getPaymentCashAmount().compareTo(new BigDecimal(10000000))>0) {
|
|
|
+ throw new BizException("下单金额不能超出10000000");
|
|
|
+ }
|
|
|
+
|
|
|
// 新增数据
|
|
|
UserPaymentOrderWrapper.PaymentConfig paymentConfig = userPaymentCoreService.executeOrderCreate(order);
|
|
|
if (Objects.isNull(paymentConfig)) {
|