修复推送回复无法成功的bug
This commit is contained in:
parent
10071b2c4c
commit
cba5af2478
|
@ -92,6 +92,9 @@ public class RouteRepositoryImpl implements RouteRepository {
|
|||
|
||||
@Override
|
||||
public RouteOrder save(RouteOrder routeOrder) {
|
||||
if(routeOrder.getRouteId() != null){
|
||||
routeCacheService.invalidateRouteCache(routeOrder.getRouteId());
|
||||
}
|
||||
RouteOrder save = jdbcRouteRepository.save(routeOrder);
|
||||
Long routeId = save.getRouteId();
|
||||
routeCacheService.invalidateRouteCache(routeId);
|
||||
|
|
Loading…
Reference in New Issue