When I test http://localhost:8080/cargobooking/findCargo with postman (the springboot/sb+rabbit+mysql project) ,It's failed, I find the cargoRepository in CargoBookingQueryService is null, so findByBookingId method of CargoBookingController cant return corredct result, but why?
When I test http://localhost:8080/cargobooking/findCargo with postman (the springboot/sb+rabbit+mysql project) ,It's failed, I find the cargoRepository in CargoBookingQueryService is null, so findByBookingId method of CargoBookingController cant return corredct result, but why?