Commit 733dfa88 by zhangxingmin

push

parent 4a58ae34
......@@ -267,15 +267,15 @@ public class ApiPremiumReconciliationServiceImpl implements ApiPremiumReconcilia
convertRequest.setToCurrency(policyCurrency);
// 如果有付款日期,使用付款日期
if (remittanceDto.getPaymentDate() != null) {
try {
Date paymentDate = Date.from(remittanceDto.getPaymentDate()
.atZone(java.time.ZoneId.systemDefault()).toInstant());
convertRequest.setTransactionDate(paymentDate);
} catch (Exception e) {
log.warn("转换付款日期失败: {}", remittanceDto.getPaymentDate(), e);
}
}
// if (remittanceDto.getPaymentDate() != null) {
// try {
// Date paymentDate = Date.from(remittanceDto.getPaymentDate()
// .atZone(java.time.ZoneId.systemDefault()).toInstant());
// convertRequest.setTransactionDate(paymentDate);
// } catch (Exception e) {
// log.warn("转换付款日期失败: {}", remittanceDto.getPaymentDate(), e);
// }
// }
// 生成唯一请求ID - 但汇率服务可能不返回,所以我们主要依赖顺序匹配
String requestId = reconciliationBizId + "_" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment