|
@@ -3,7 +3,7 @@
|
|
|
<mapper namespace="com.fdkankan.agent.mapper.IScenePlusMapper">
|
|
|
|
|
|
<select id="getCountGroupByUserId" resultType="com.fdkankan.agent.response.GroupByCount">
|
|
|
- SELECT p.user_id as id, count(p.id) as count FROM t_scene_plus p left join t_camera_deatil d on p.camera_id = d.camera_id
|
|
|
+ SELECT p.user_id as id, count(p.id) as count FROM t_scene_plus p left join t_camera_detail d on p.camera_id = d.camera_id
|
|
|
WHERE p.rec_status = 'A' and agent_id is not null and p.user_id in
|
|
|
<foreach item="userId" collection="userIdList" open="(" separator="," close=")">
|
|
|
#{userId}
|