From 27d084064f05a28225ed58d06ec090f0abca078a Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Mon, 19 Dec 2016 10:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/platform/service/impl/CheckoutServiceImpl.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/com/platform/service/impl/CheckoutServiceImpl.java b/src/com/platform/service/impl/CheckoutServiceImpl.java index 0e6cd647..cc3e12d2 100644 --- a/src/com/platform/service/impl/CheckoutServiceImpl.java +++ b/src/com/platform/service/impl/CheckoutServiceImpl.java @@ -175,6 +175,16 @@ public class CheckoutServiceImpl implements ICheckoutService { noDataList.add(tmp); continue; } + if (Constant.CHECKOUT_STATUS_ZERO.equals(tmp.getPayResultLast())) { + if ("n".equals(tmp.getPayResult())) { + tmp.setPayResultLast(Constant.CHECKOUT_STATUS_ONE); + } + } + if (Constant.CHECKOUT_STATUS_ZERO.equals(tmp.getExecResultLast())) { + if ("n".equals(tmp.getExecResult())) { + tmp.setExecResultLast(Constant.CHECKOUT_STATUS_ONE); + } + } resultList.add(tmp); if(!Constant.CHECKOUT_STATUS_ZERO.equals(tmp.getPayResultLast()) && !Constant.CHECKOUT_STATUS_ZERO.equals(tmp.getExecResultLast())){ if (Constant.CHECKOUT_STATUS_FOUR.equals(tmp.getPayResultLast()) || Constant.CHECKOUT_STATUS_FOUR.equals(tmp.getExecResultLast())) {