|
|
|
@ -212,7 +212,7 @@ public class PlatformClearAnalysisServiceImpl implements PlatformClearService {
|
|
|
|
|
try {
|
|
|
|
|
tencentSettle = mpPaymentApi.settlementLogs(settleDate.get("from"), settleDate.get("to"), mch.getMerchantId());
|
|
|
|
|
if (tencentSettle == null) {
|
|
|
|
|
logger.info("【" + mch.getMerchantId() + "】下没有清算记录");
|
|
|
|
|
logger.info("【{}】下没有清算记录", mch.getMerchantId());
|
|
|
|
|
} else {
|
|
|
|
|
for (SettlementLog settle : tencentSettle) {
|
|
|
|
|
JSONObject params = new JSONObject();
|
|
|
|
@ -246,11 +246,11 @@ public class PlatformClearAnalysisServiceImpl implements PlatformClearService {
|
|
|
|
|
platformSettlementMapper.save(params);
|
|
|
|
|
}
|
|
|
|
|
params.clear();
|
|
|
|
|
logger.info(mch.getMerchantId() + "的微信清算记录查询完成");
|
|
|
|
|
logger.info("{}的微信清算记录查询完成", mch.getMerchantId());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
logger.error("【" + mch.getMerchantId() + "】下没有清算记录", e);
|
|
|
|
|
logger.error("【{}】下没有清算记录", mch.getMerchantId(), e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|