吉安感知网项目-后端
linwei
3 days ago 51a551a7f8eae7654f973d45cd2fa2952774673d
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceTrackMapper.xml
@@ -11,7 +11,6 @@
        <result column="purpose" property="purpose"/>
        <result column="charger" property="charger"/>
        <result column="contact_phone" property="contactPhone"/>
        <result column="dept_name" property="deptName"/>
        <result column="area_code" property="areaCode"/>
        <result column="create_user" property="createUser"/>
        <result column="create_dept" property="createDept"/>
@@ -24,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>