liujie
1 天以前 32ec3be58557fb96c97585bcedfd383c1953822e
赛事模块
1个文件已修改
5 ■■■■ 已修改文件
cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml
@@ -33,7 +33,7 @@
            a.opponentScore,
            DATE_FORMAT(a.startTime, '%Y-%m-%d %H:%i') as startTime,
            a.matchResult,
            (a.participationIntegral + a.winIntegral) as award
            (a.participationIntegral + a.winIntegral+a.drawIntegral+a.loseIntegral) as award
        from t_world_cup_competitor a
        left join t_world_cup b on (a.worldCupId = b.id)
        where a.matchResult is not null and a.participantId = #{item.id} and a.participantType = #{item.isStudent}
@@ -351,6 +351,9 @@
        left join t_world_cup_payment b on (a.worldCupPaymentId = b.id)
        left join t_world_cup c on (b.worldCupId = c.id)
        where  a.participantId = #{item.id} and b.payStatus = 2 and b.refundTime is null and b.state = 1
        <if test="null != item.name">
            and c.name  like CONCAT('%', #{item.name}, '%')
        </if>
        order by a.createTime desc
    </select>
</mapper>