소스 검색

更改查询字段

hym 3 년 전
부모
커밋
46e53dc726
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/AlarmTypeMapper.xml

+ 1 - 1
zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/AlarmTypeMapper.xml

@@ -57,7 +57,7 @@ rt.type_desc, rt.tenant_id, rt.alarm_status    </sql>
                 and rt.device_type_id = #{deviceTypeId}
             </if>
             <if test="productCategroyId != null">
-                and rt.product_category_id = #{productCategroyId}
+                and rt.product_categroy_id = #{productCategroyId}
             </if>
             <if test="name != null and name != ''">
                 and rt.name  like concat('%',#{name} ,'%')