xucaiqin преди 2 години
родител
ревизия
af8d2f1f2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      iot-module/iot-module-manage/iot-module-manage-biz/src/main/resources/mapper/IotDeviceMapper.xml

+ 1 - 1
iot-module/iot-module-manage/iot-module-manage-biz/src/main/resources/mapper/IotDeviceMapper.xml

@@ -97,7 +97,7 @@
                 and ide.id = #{deviceId,jdbcType=BIGINT}
             </if>
             <if test="productId != null">
-                and ipd.product_id = #{productId,jdbcType=BIGINT}
+                and ide.product_id = #{productId,jdbcType=BIGINT}
             </if>
         </where>
     </select>