代码提交

This commit is contained in:
itcast 2026-01-06 17:28:11 +08:00
parent ecf9db93bd
commit a569b1d758
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@
<select id="getDeviceByDept" resultType="java.util.Map">
SELECT
sd.dept_id AS companyId,
sd.dept_abbreviation AS companyName, -- 公司名称
ifnull(sd.dept_abbreviation, sd.dept_name) AS companyName, -- 公司名称
-- 工具数量无数据则为0取整
ROUND(IFNULL(SUM(temp.toolNum), 0)) AS toolNum,
-- 设备数量无数据则为0取整