فهرست منبع

变量列表查询2

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}