lyhzzz 2 年之前
父节点
当前提交
e66c96b440
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>