|
|
@ -2515,7 +2515,8 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
JSONObject client = clientMapper.findClient(device.getIntValue("client_id"));
|
|
|
|
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")))) {
|
|
|
|
|| "LEOH".equals(client.getString("client_moniker")))) {
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|