mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
Merge branch 'dev-zza' into dev
This commit is contained in:
@@ -721,8 +721,8 @@ public class PileStationInfoServiceImpl implements PileStationInfoService {
|
||||
if (StringUtils.equals(Constants.ONE, sortType)) {
|
||||
// 低价优先
|
||||
stationVOList.sort((x1, x2) -> {
|
||||
Double a = Double.valueOf(x1.getTotalPrice());
|
||||
Double b = Double.valueOf(x2.getTotalPrice());
|
||||
Double a = Double.valueOf(x1.getTotalPrice() == null ? "0" : x1.getTotalPrice());
|
||||
Double b = Double.valueOf(x2.getTotalPrice() == null ? "0" : x2.getTotalPrice());
|
||||
return a.compareTo(b);
|
||||
});
|
||||
} else if (distance != 0.00) {
|
||||
|
||||
Reference in New Issue
Block a user