lyhzzz 2 years ago
parent
commit
e66c96b440
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/manage/ScenePlusMapper.xml

+ 1 - 1
src/main/resources/mapper/manage/ScenePlusMapper.xml

@@ -3,7 +3,7 @@
 <mapper namespace="com.fdkankan.manage.mapper.IScenePlusMapper">
 
     <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(p.id) as count FROM t_scene_plus p
         <if test="isObj != null and isObj = 1">
             left join t_scene_plus_ext e on p.id = e.plus_id
         </if>