|
@@ -5,10 +5,9 @@
|
|
<select id="getCountGroupByUserId" resultType="com.fdkankan.manage.vo.response.GroupByCount" >
|
|
<select id="getCountGroupByUserId" resultType="com.fdkankan.manage.vo.response.GroupByCount" >
|
|
SELECT user_id as id, count(id) as count FROM t_scene_plus p
|
|
SELECT user_id as id, count(id) as count FROM t_scene_plus p
|
|
<if test="isObj != null and isObj = 1">
|
|
<if test="isObj != null and isObj = 1">
|
|
- left join t_scene_plus_ext e
|
|
|
|
|
|
+ left join t_scene_plus_ext e on p.id = e.plus_id
|
|
</if>
|
|
</if>
|
|
WHERE p.rec_status = 'A'
|
|
WHERE p.rec_status = 'A'
|
|
-
|
|
|
|
and p.user_id in
|
|
and p.user_id in
|
|
<foreach item="userId" collection="userIdList" open="(" separator="," close=")">
|
|
<foreach item="userId" collection="userIdList" open="(" separator="," close=")">
|
|
#{userId}
|
|
#{userId}
|