大家好,又见面了,我是你们的朋友全栈君。...SET @EE = '';
SET @str_tmp = '';
SET @Revenue_JSON = '';
SET @Revenue_JSON_tmp...,fdSubTotal,0)) AS ''revenue_',
fsRevenueTypeName,
''','
) AS aa ,
@Revenue_JSON...:= CONCAT (
@Revenue_JSON,','',"'
,fsRevenueTypeName,'":'','
,'revenue_',fsRevenueTypeName...@Revenue_JSON_tmp;
SET @QQ = CONCAT(
' CREATE TEMPORARY TABLE TempRevenueType1