一.环境 1.此随笔内容基于spring boot整合的spring data jpa项目, 2.数据库为mysql 5.7.9版本 二.内容 1. 新建存储过程 pro_query_object BEGIN #Routine body goes here...a_theme_code varchar(10),out num int select o.obj_code,o.obj_name,o.obj_id from qt_object o where o.theme_code=a_theme_