From eed85d95faecb33ce8e2c5db4ea185dfe4264c6b Mon Sep 17 00:00:00 2001 From: 喻健 <喻健@Admin> Date: 星期三, 28 十一月 2018 11:38:02 +0800 Subject: [PATCH] config参数设置修改优化 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/PidOrderServiceImpl.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/PidOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/PidOrderServiceImpl.java index 7aad2bb..b25417e 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/PidOrderServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/PidOrderServiceImpl.java @@ -272,7 +272,10 @@ HongBao.TYPE_SHARE_GOODS, HongBao.STATE_BUKELINGQU, new Date().getTime(), new Date().getTime(), 0, "192.168.1.1", "绯荤粺娣诲姞"); hongBao.setOrderId(order.getOrderId()); - hongBao.setPayMoney(order.getPayMoney()); + if ("璁㈠崟缁撶畻".equalsIgnoreCase(order.getState())) + hongBao.setPayMoney(order.getFinalMoney()); + else + hongBao.setPayMoney(order.getPayMoney()); if (order.getBalanceTime() != null) hongBao.setBalanceTime(order.getBalanceTime()); -- Gitblit v1.8.0