spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
增加配置项
spring.jpa.open-in-view=true
增加配置项
spring.jpa.open-in-view=true