Compare commits
No commits in common. "c9e088548dcfee4bcda491241bffaef3bae0f0fc" and "38f0bbf49f0c8904d4cbe58eab40848a68672cb9" have entirely different histories.
c9e088548d
...
38f0bbf49f
|
|
@ -110,7 +110,7 @@
|
|||
<select id="getDeviceByDept" resultType="java.util.Map">
|
||||
SELECT
|
||||
sd.dept_id AS companyId,
|
||||
ifnull(sd.dept_abbreviation, sd.dept_name) AS companyName, -- 公司名称
|
||||
sd.dept_abbreviation AS companyName, -- 公司名称
|
||||
-- 工具数量:无数据则为0,取整
|
||||
ROUND(IFNULL(SUM(temp.toolNum), 0)) AS toolNum,
|
||||
-- 设备数量:无数据则为0,取整
|
||||
|
|
|
|||
Loading…
Reference in New Issue