hanfucheng 7 miesięcy temu
rodzic
commit
f864366ef7

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

@@ -11,8 +11,6 @@
             count(a.id) num
             count(a.id) num
         FROM
         FROM
             centerevent_t_emergency_inspectionrecord a
             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
         group by a.enterprise_id
     </select>
     </select>
 
 
@@ -23,8 +21,6 @@
             count(a.id) num
             count(a.id) num
         FROM
         FROM
             centerevent_t_emergency_inspectionrecorddetail a
             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
         group by a.inspectionitem_id
     </select>
     </select>
 </mapper>
 </mapper>