lyhzzz 5 ماه پیش
والد
کامیت
3fd1fb03aa
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/mapper/agent/CameraMapper.xml

+ 1 - 1
src/main/resources/mapper/agent/CameraMapper.xml

@@ -12,7 +12,7 @@
         left join t_user_increment ui on d.camera_id = ui.camera_id and ui.rec_status = 'A'
         where c.rec_status = 'A'
         <if test="param.userId !=null ">
-            and u.user_id = #{param.userId}
+            and d.user_id = #{param.userId}
         </if>
         <if test="param.type !=null ">
             and d.type = #{param.type}