|
|
|
@ -107,6 +107,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getBigIndustry" resultType="com.ruoyi.jjh.ent.entity.response.JAllIndustryResponse">
|
|
|
|
|
SELECT a.categories AS nameType,
|
|
|
|
|
a.categories_code,
|
|
|
|
|
IFNULL(ROUND(SUM(a.year_revenue) / 10000, 1), '-') AS yearRevenue,
|
|
|
|
|
IFNULL(ROUND(SUM(a.add_value), 1), '-') AS addValue,
|
|
|
|
|
IFNULL(ROUND(AVG(a.growth), 1), '-') AS growth,
|
|
|
|
@ -114,7 +115,8 @@
|
|
|
|
|
FROM j_medium_revenue a
|
|
|
|
|
WHERE a.years = YEAR( NOW()) - 1
|
|
|
|
|
GROUP BY
|
|
|
|
|
a.categories_code
|
|
|
|
|
a.categories_code,
|
|
|
|
|
a.categories
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|