魏超 5 years ago
parent
commit
74f458d2d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/TaShareActivityMapper.xml

+ 1
- 1
src/main/resources/mapper/TaShareActivityMapper.xml View File

@@ -43,7 +43,7 @@
43 43
     </update>
44 44
 
45 45
     <select id="calParticipateNum" resultType="java.lang.Integer">
46
-        select sum(t.join_people) as num from ta_share_record t where t.group_activity_id = #{groupActivityId} group by t.group_activity_id
46
+        select t.join_people as num from ta_share_record t where t.group_activity_id = #{groupActivityId} group by t.group_activity_id
47 47
     </select>
48 48
 
49 49
 </mapper>