101captain
2022-03-16 463c65cda42fb114b9522982c77fdad89274c859
党员认证Bug修改
1个文件已修改
2 ■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActRegistMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActRegistMapper.xml
@@ -173,7 +173,7 @@
            com_act_act_regist caar
            LEFT JOIN sys_user su ON caar.user_id = su.user_id
            LEFT JOIN com_act_activity t on caar.activity_id = t.id
        WHERE caar.activity_id = #{id} AND caar.user_id = #{userId} AND caar.`type` = 1 ORDER BY caar.id DESC
        WHERE caar.activity_id = #{id} AND caar.user_id = #{userId} ORDER BY caar.id DESC
    </select>
    <select id="selectTotalAwardWithRegist" resultType="java.lang.Integer">
        SELECT SUM(award) FROM com_act_act_regist WHERE activity_id = #{activityId} AND user_id = #{userId} AND `type` = 1