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