|
|
|
@ -84,10 +84,10 @@
|
|
|
|
|
<select id="getIndustryDepth" resultType="com.ruoyi.jjh.ent.entity.response.JIndustryDepthResponse">
|
|
|
|
|
SELECT a.years,
|
|
|
|
|
a.industry_categories,
|
|
|
|
|
IFNULL(a.year_revenue / 10000, '-') AS yearRevenue,
|
|
|
|
|
IFNULL(a.add_value / 10000, '-') AS addValue,
|
|
|
|
|
IFNULL(a.growth / 10000, '-') AS growth,
|
|
|
|
|
IFNULL(a.gdp_proportion / 10000, '-') AS gdpProportion
|
|
|
|
|
IFNULL(ROUND(a.year_revenue / 10000, 1), '-') AS yearRevenue,
|
|
|
|
|
IFNULL(ROUND(a.add_value / 10000, 1), '-') AS addValue,
|
|
|
|
|
IFNULL(ROUND(a.growth / 10000, 1), '-') AS growth,
|
|
|
|
|
IFNULL(ROUND(a.gdp_proportion / 10000, 1), '-') AS gdpProportion
|
|
|
|
|
FROM j_industry_depth a
|
|
|
|
|
WHERE a.years = YEAR(NOW()) - 1
|
|
|
|
|
</select>
|
|
|
|
@ -95,8 +95,8 @@
|
|
|
|
|
resultType="com.ruoyi.jjh.ent.entity.response.JBigMiddleIndustryResponse">
|
|
|
|
|
SELECT a.categories,
|
|
|
|
|
a.middle AS nameType,
|
|
|
|
|
IFNULL(ROUND(SUM(b.year_revenue) / 10000, 3), '-') AS yearRevenue,
|
|
|
|
|
IFNULL(ROUND(SUM(b.add_value) / 10000, 3), '-') AS addValue,
|
|
|
|
|
IFNULL(ROUND(SUM(b.year_revenue) / 10000, 1), '-') AS yearRevenue,
|
|
|
|
|
IFNULL(ROUND(SUM(b.add_value) / 10000, 1), '-') AS addValue,
|
|
|
|
|
IFNULL(b.growth, '-') AS growth,
|
|
|
|
|
IFNULL(b.gdp_proportion, '-') AS gdpProportion
|
|
|
|
|
FROM j_industry_dictionary a
|
|
|
|
@ -110,8 +110,8 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getBigIndustry" resultType="com.ruoyi.jjh.ent.entity.response.JAllIndustryResponse">
|
|
|
|
|
SELECT a.categories AS nameType,
|
|
|
|
|
IFNULL(ROUND(SUM(b.year_revenue) / 10000, 3), '-') AS yearRevenue,
|
|
|
|
|
IFNULL(ROUND(SUM(b.add_value) / 10000, 3), '-') AS addValue,
|
|
|
|
|
IFNULL(ROUND(SUM(b.year_revenue) / 10000, 1), '-') AS yearRevenue,
|
|
|
|
|
IFNULL(ROUND(SUM(b.add_value) / 10000, 1), '-') AS addValue,
|
|
|
|
|
IFNULL(b.growth, '-') AS growth,
|
|
|
|
|
IFNULL(b.gdp_proportion, '-') AS gdpProportion
|
|
|
|
|
FROM j_industry_dictionary a
|
|
|
|
|