Browse Source

巡检记录

hanfucheng 4 months ago
parent
commit
f864366ef7

+ 0 - 4
src/main/resources/mapper/emergency/inspectionrecord/EmergencyBigDataMapper.xml

@@ -11,8 +11,6 @@
             count(a.id) num
         FROM
             centerevent_t_emergency_inspectionrecord a
-                LEFT JOIN ${database_system}.sys_dept d ON a.dept_id = d.dept_id
-        where 1=1 ${params.dataScope}
         group by a.enterprise_id
     </select>
 
@@ -23,8 +21,6 @@
             count(a.id) num
         FROM
             centerevent_t_emergency_inspectionrecorddetail a
-                LEFT JOIN ${database_system}.sys_dept d ON a.dept_id = d.dept_id
-        where 1=1 ${params.dataScope}
         group by a.inspectionitem_id
     </select>
 </mapper>