diff --git a/src/main/resources/mybatis/datasource/firemanager/FireDeviceMapper.xml b/src/main/resources/mybatis/datasource/firemanager/FireDeviceMapper.xml index f5abc175..5db2666c 100644 --- a/src/main/resources/mybatis/datasource/firemanager/FireDeviceMapper.xml +++ b/src/main/resources/mybatis/datasource/firemanager/FireDeviceMapper.xml @@ -146,6 +146,9 @@ and fp.FIRE_POINT_NAME like concat('%',#{pd.FIRE_POINT_NAME},'%') + + and d.DEPARTMENT_ID = #{pd.DEPARTMENT_ID} + ORDER BY fr.FIRE_REGION_ID,fr.CREATTIME,fp.FIRE_POINT_ID,fp.CREATTIME,fd.FIRE_DEVICE_TYPE_ID,fd.CREATTIME, fd.OPERATTIME DESC