I stumbled today when implementing a function to query all lists in reverse order.

So WRITE this article to record

1. What’s wrong with writing
List<T> findAllOrdeByTimeDesc(a);
Copy the code
2. An error message is displayed
 No property desc found for type Date! 
Copy the code
3. Write it correctly
List<T> findAllByOrdeByTimeDesc(a);
Copy the code

You need to add a By after findAll