From 74d336c4d6431d97f4f640f7aee5061e9f393a4f Mon Sep 17 00:00:00 2001 From: Admin <376654749@qq.com> Date: Sat, 22 Jan 2022 08:08:45 +0000 Subject: [PATCH] fix --- .../module/system/royalcanin/good/OrderController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/good/OrderController.java b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/good/OrderController.java index 79049c9c..22e18121 100644 --- a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/good/OrderController.java +++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/good/OrderController.java @@ -71,14 +71,12 @@ public class OrderController { orderDatilListEntity.setEcPrice(ordersEntitys.getPayAmount()); orderDatilListJson.add(orderDatilListEntity); if(ordersEntitys.getCouponCode() != "" && ordersEntitys.getCouponCode() != null) { - System.out.println("123"); ordersEntity.setCouponAmount(ordersEntitys.getCouponAmount()); ordersEntity.setCouponCode(ordersEntitys.getCouponCode()); ordersEntity.setCouponName(ordersEntitys.getCouponName()); ordersEntity.setCouponId(ordersEntitys.getCouponId()); total_fee = total_fee + orderService.couponTotal(ordersEntitys.getCouponTypeId(),Double.parseDouble(ordersEntitys.getCouponAmount()),Double.parseDouble(ordersEntitys.getPayAmount()),ordersEntitys.getBuyCount()); }else{ - System.out.println("321"); total_fee = total_fee + Double.parseDouble(ordersEntitys.getPayAmount()) * ordersEntitys.getBuyCount() ; } orderAddress.setAddressCityName(ordersEntitys.getOrderAddress().getAddressCityName());