|
|
@ -227,6 +227,10 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private RetailAppService retailAppService;
|
|
|
|
private RetailAppService retailAppService;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private ClientIncrementalMapper clientIncrementalMapper;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private ClientServicesApplyMapper clientServicesApplyMapper;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
private DeviceManager deviceManager;
|
|
|
|
private DeviceManager deviceManager;
|
|
|
|
private final String CBBANK_AGGREGATE_FILE = "https://file.royalpay.com.au/open/2019/08/05/1564972204689_uwZvpTBjtLUMcN8c540xcZvux1Rd3O.pdf";
|
|
|
|
private final String CBBANK_AGGREGATE_FILE = "https://file.royalpay.com.au/open/2019/08/05/1564972204689_uwZvpTBjtLUMcN8c540xcZvux1Rd3O.pdf";
|
|
|
|
private final String IMG_AGGREGATE_FILE = "https://file.royalpay.com.au/open/2019/10/22/1571723034726_5xK6A0FGv5aQPbMIDJzXJrUPKHFutv.pdf";
|
|
|
|
private final String IMG_AGGREGATE_FILE = "https://file.royalpay.com.au/open/2019/10/22/1571723034726_5xK6A0FGv5aQPbMIDJzXJrUPKHFutv.pdf";
|
|
|
@ -1590,9 +1594,16 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
JSONObject act = new JSONObject();
|
|
|
|
JSONObject act = new JSONObject();
|
|
|
|
act.put("data", latestAct);
|
|
|
|
act.put("data", latestAct);
|
|
|
|
act.put("type", "act");
|
|
|
|
act.put("type", "act");
|
|
|
|
result.add(act);
|
|
|
|
if (StringUtils.equalsIgnoreCase("跨境商城", latestAct.getString("act_name"))) {
|
|
|
|
|
|
|
|
JSONObject incrementalInfo = clientIncrementalMapper.findByClinetIdAndChannel(clientId, "RP跨境商城");
|
|
|
|
|
|
|
|
JSONObject applyInfo = clientServicesApplyMapper.findApplyByClientIdAndChannel(clientId, "RP跨境商城");
|
|
|
|
|
|
|
|
if (incrementalInfo == null && applyInfo == null) {
|
|
|
|
|
|
|
|
result.add(act);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
result.add(act);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|