${if(a = "a","SELECT * FROM BO_EU_a","SELECT * FROM BO_EU_b WHERE ID = '3807d7e9-80a6-4306-8a94-a0ede17c99bc'")}
--------
存储过程数据集-https://help.fanruan.com/finereport/doc-view-117.html
参考语法写一个存储过程,然后直接调用存储过程;
CREATE DEFINER=`root`@`localhost` PROCEDURE `ttt`()
if 1=1 then
select id from gudingzichan limit 11 ;
else
select id from gudingzichan limit 111 ;
end if