|
|
|
@ -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>
|
|
|
|
|