大屏bug

This commit is contained in:
sxu 2025-01-07 15:41:05 +08:00
parent a80aae8836
commit 350150ac89
1 changed files with 2 additions and 2 deletions

View File

@ -1003,11 +1003,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getDeviceShareRanking" resultType="com.bonus.material.device.domain.DevInfo">
select
sd.dept_name as com_name,count(mdi.ma_id) as dev_count
sd.dept_name as com_name,count(mdi.ma_id) as device_count
from ma_dev_info mdi
LEFT JOIN sys_dept sd on sd.dept_id=mdi.own_co
where mdi.ma_status in (2,3)
group by mdi.own_co
order by dev_count desc
order by device_count desc
</select>
</mapper>