吉安感知网项目-后端
rain
2026-01-28 ff2ee260472e3b43c6dfd4b1406b629dfeb2d3f4
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/mapper/GdManageDeviceMapper.xml
@@ -28,6 +28,7 @@
            md.longitude,
            md.latitude,
            md.location,
            md.device_type,
            bd.dept_name as device_dept_name
        from
            ja_gd_manage_device md
@@ -36,10 +37,7 @@
        <where>
                and md.is_deleted = 0
            <if test="param2.deviceName != null and param2.deviceName != ''">
                and md.device_name like concat('%',#{param2.deviceName},'%')
            </if>
            <if test="param2.nickname != null and param2.nickname != ''">
                and md.nickname like concat('%',#{param2.nickname},'%')
                and md.nickname like concat('%',#{param2.deviceName},'%')
            </if>
            <if test="param2.deptId != null">
                and md.create_dept = #{param2.deptId}