Compare commits

...

2 Commits

Author SHA1 Message Date
haozq 12bdc77002 Merge remote-tracking branch 'origin/main' 2025-10-21 13:31:01 +08:00
haozq c5aa405794 修改下发班组任务信息 2025-10-21 13:30:47 +08:00
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,12 @@
dev_model devModel,on_line onLine
from pm_att_device
where pro_id=#{proId} and is_active=1
<if test='teamId==0 or teamId=="0"'>
and team_id is NULL
</if>
<if test='supId==0 or supId=="0"'>
and sub_id is NULL and team_id is NULL
</if>
<if test='supId!=null and supId!=0 and supId!="0"'>
and sub_id=#{supId}
</if>