@Query( "{ 'name': { $eq: ?0 } }" ) List<OrderInfo> findIt( @Param("p") @DefaultValue("Bart") String x );
我尝试过,但是没有用。
您可能要使用重载