优化易方达接口
This commit is contained in:
+1
-1
@@ -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")){
|
||||
|
||||
Reference in New Issue
Block a user