Commit 9d7d9c42 by 高晓磊

价格趋势图排序

parent 42423d5e
......@@ -94,7 +94,9 @@ public class PriceAdjustmentServiceImpl implements PriceAdjustmentService {
e.printStackTrace();
}
});
stationDetail.setTimeValues(timeValues2);
List<TimeValue> timeValues21 = timeValues2;
timeValues21=timeValues21.stream().sorted(Comparator.comparing(TimeValue::getTime)).collect(Collectors.toList());
stationDetail.setTimeValues(timeValues21);
}
}
return detailsByFilter;
......@@ -167,7 +169,7 @@ public class PriceAdjustmentServiceImpl implements PriceAdjustmentService {
return;
}
for (KObject kObject : kObjects) {
if(kObject.getString(BaseConstants.ID).equals(kObject.getString(BaseConstants.ID))){
if(kObject.getString(BaseConstants.ID).equals(kobject.getString(BaseConstants.ID))){
continue;
}
kObject.set("adjustmentStatus", PriceAdjustmentAdjustmentStatusEnum.ABOLITION.getValue());
......
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