优化易方达接口

This commit is contained in:
2026-03-12 13:46:46 +08:00
parent 06758af327
commit 1147606517
@@ -138,7 +138,7 @@ public class EfundMatchServiceImpl implements EfundMatchService {
if (officeStat != null && officeStat.getAvgPrice() != null && officeStat.getAvgPrice() > 0) {
result.append("reference_price", officeStat.getAvgPrice());
if (officeStat.getDate() != null) {
result.append("update_time", DateUtil.formatByPattern(DateUtil.parseDate(officeStat.getDate().toString(), "yyyyMM"), "yyyy-MM-dd"));
result.append("update_time", DateUtil.formatByPattern(DateUtil.getFirstDayOfWeek(new Date()), "yyyy-MM-dd"));
}
}
if(!result.containsKey("reference_price")){