重点!
sql中在使用in关键字的时候需要传递的参数必须是List<object>
@Query(value ="SELECT a.* FROM algorithm_root a where a.id = :algorithmRootId and datediff( CURRENT_TIMESTAMP, a.update_time ) <= :time and a.access_level in :accessLevel", nativeQuery =true)
AlgorithmRootqueryAlgorithmRoot(@Param("algorithmRootId") Long algorithmRootId,@Param("time") String time,@Param("accessLevel") List accessLevel);