主要:
https://stackoverflow.com/questions/9673341/jpa-query-with-case-when-in-the-where-clause-how-to-do
更多:
https://www.cnblogs.com/dslx/p/11474453.html
https://blog.csdn.net/cmw1085215666/article/details/82946712
https://blog.csdn.net/ZNG_XP/article/details/78963416