标签: mysql spring-boot
我是新手。 任何人都可以帮助我在spring boot中实现MYSQL Case语句。 就像使用findBy一样。
答案 0 :(得分:0)
我不知道您究竟在寻找什么,但我认为您需要JPA查询注释。
https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.query-methods.details