数据更新

master
杜函宇 1 week ago
parent 755071c7bb
commit 07b6015175

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

@ -84,6 +84,7 @@ SELECT * FROM (
LEFT JOIN (
SELECT a.services_type, COUNT(*) AS qyCount
FROM j_services_list a
where years = YEAR(now()) -1
GROUP BY a.services_type
) AS b ON a.type = b.services_type
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) +
ROUND(SUM(IFNULL(sales, 0)) / 100000, 1), '-') AS addValue
FROM j_headquarters_revenue
where years = YEAR(NOW()) - 1
</select>
</mapper>

Loading…
Cancel
Save