吉安感知网项目-后端
linwei
3 days ago 51a551a7f8eae7654f973d45cd2fa2952774673d
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceTrackMapper.xml
@@ -23,7 +23,16 @@
    <select id="selectFwDeviceTrackPage" resultMap="fwDeviceTrackResultMap">
        select * from ja_fw_device_track where is_deleted = 0
        select * from ja_fw_device_track
        <where>
            is_deleted = 0
            <if test="param2.id != null and param2.id != ''">
                and id = #{param2.id}
            </if>
            <if test="param2.deviceId != null and param2.deviceId != ''">
                and device_id = #{param2.deviceId}
            </if>
        </where>
    </select>