From 36304ec32986dc5873992a84391769c0d4be1f3e Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 04 三月 2024 10:22:07 +0800 Subject: [PATCH] Merge branch 'master-fwq-退费统计' into master-prod-new --- phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java b/phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java index f105982..cc41ce1 100644 --- a/phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java +++ b/phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java @@ -184,6 +184,9 @@ if(orderRefundDto.getIsRefund() == null){ throw new PlatTipsException(PlatformCode.ERROR_PARAMETER_NULL,"鏄惁鑷姩鐢熸垚閫�娆惧崟涓嶈兘涓虹┖"); } + if(orderRefundDto.getRefundStatistics() == null){ + throw new PlatTipsException(PlatformCode.ERROR_PARAMETER_NULL,"閫�娆剧粺璁$被鍨嬩笉鑳戒负绌�!"); + } OrdersTotal ordersTotal = ordersTotalService.selectOneByKey(orderRefundDto.getOrderId()); if (ordersTotal == null) { @@ -223,6 +226,10 @@ if(orderRefundDto.getIsRefund()==null){ throw new PlatTipsException(PlatformCode.ERROR_PARAMETER_NULL,"鏄惁鑷姩鐢熸垚閫�娆惧崟涓嶈兘涓虹┖"); } + if(orderRefundDto.getRefundStatistics() == null){ + throw new PlatTipsException(PlatformCode.ERROR_PARAMETER_NULL,"閫�娆剧粺璁$被鍨嬩笉鑳戒负绌�!"); + } + SqlSentence sqlSentence = new SqlSentence(); Map<String, Object> sqlMap = new HashMap<>(); sqlSentence.setM(sqlMap); -- Gitblit v1.8.0