数据更新

master
杜函宇 2 weeks ago
parent 755071c7bb
commit 07b6015175

@ -90,7 +90,6 @@ order by a.alert_time desc
<!-- </where>--> <!-- </where>-->
ORDER BY ORDER BY
a.develop_year ASC a.develop_year ASC
LIMIT 5
</select> </select>
<select id="getIndustryDepth" resultType="com.ruoyi.jjh.ent.entity.response.JIndustryDepthResponse"> <select id="getIndustryDepth" resultType="com.ruoyi.jjh.ent.entity.response.JIndustryDepthResponse">
SELECT a.years, SELECT a.years,

@ -84,6 +84,7 @@ SELECT * FROM (
LEFT JOIN ( LEFT JOIN (
SELECT a.services_type, COUNT(*) AS qyCount SELECT a.services_type, COUNT(*) AS qyCount
FROM j_services_list a FROM j_services_list a
where years = YEAR(now()) -1
GROUP BY a.services_type GROUP BY a.services_type
) AS b ON a.type = b.services_type ) AS b ON a.type = b.services_type
WHERE WHERE
@ -127,5 +128,6 @@ ORDER BY FIELD(result.servicesType, 3, 1, 2, 4);
IFNULL(ROUND(SUM(IFNULL(revenue, 0)) / 100000, 1) + ROUND(SUM(IFNULL(output, 0)) / 100000, 1) + IFNULL(ROUND(SUM(IFNULL(revenue, 0)) / 100000, 1) + ROUND(SUM(IFNULL(output, 0)) / 100000, 1) +
ROUND(SUM(IFNULL(sales, 0)) / 100000, 1), '-') AS addValue ROUND(SUM(IFNULL(sales, 0)) / 100000, 1), '-') AS addValue
FROM j_headquarters_revenue FROM j_headquarters_revenue
where years = YEAR(NOW()) - 1
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save