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