redis存入数据更正

This commit is contained in:
attiya 2025-05-29 11:17:19 +08:00
parent 96c44aa9e1
commit c188b08f66

View File

@ -448,7 +448,7 @@ public class UserOrdersServiceImpl extends ServiceImpl<UserOrdersMapper, EbikeUs
resGpsDto.setInOperation(pointInOperation); resGpsDto.setInOperation(pointInOperation);
resGpsDto.setInParking(pointInParking); resGpsDto.setInParking(pointInParking);
resGpsDto.setLatestTimestamp(System.currentTimeMillis()); resGpsDto.setLatestTimestamp(System.currentTimeMillis());
redisUtil.set(resGpsDto.getEcuSn(), regionDto); redisUtil.set(resGpsDto.getEcuSn(), resGpsDto);
//时长费用计算(已知超出免费时长 //时长费用计算(已知超出免费时长
Character timeDivisionCharging = feignEbikeSysRcostsetDto.getTimeDivisionCharging(); Character timeDivisionCharging = feignEbikeSysRcostsetDto.getTimeDivisionCharging();
BigDecimal decimal = switch (timeDivisionCharging) { BigDecimal decimal = switch (timeDivisionCharging) {