Parcourir la source

变量列表查询2

jichaobo il y a 3 ans
Parent
commit
0f24bc6b6c

+ 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}