jichaobo преди 3 години
родител
ревизия
0f24bc6b6c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      fiveep-persistence/src/main/resources/mapper/mysql/DeviceAnalogVariableListMapper.xml

+ 1 - 1
fiveep-persistence/src/main/resources/mapper/mysql/DeviceAnalogVariableListMapper.xml

@@ -29,7 +29,7 @@
         <where>
             a. STATUS = 1
             <if test="siteId != null and siteId !=0">
-                and c.site_id = #{siteId}
+                and b.site_id = #{siteId}
             </if>
             <if test="id != null and id !=0">
                 and a.id = #{id}