소스 검색

字段问题修复

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>