From 83f089979cfa3f0916ad813e081e6be9280560f4 Mon Sep 17 00:00:00 2001 From: liuxinxin Date: Mon, 6 Jan 2020 10:02:41 +0800 Subject: [PATCH] [R] fix --- .../manage/appclient/core/impls/RetailAppServiceImp.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java index 5e311c721..9be9a2a6d 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java @@ -2515,7 +2515,8 @@ public class RetailAppServiceImp implements RetailAppService { String clientType = device.getString("client_type"); deviceSupport.findRegister(clientType); JSONObject client = clientMapper.findClient(device.getIntValue("client_id")); - if (!("PINE".equals(client.getString("client_moniker")) + if ( !(client.getIntValue("approve_result") == 2 || client.getIntValue("open_status") == 10 || client.getIntValue("approve_result") == 1 || client.getIntValue("open_status") == 5) + || !("PINE".equals(client.getString("client_moniker")) || "LEOH".equals(client.getString("client_moniker")))) { return null; }