修改大屏接口

This commit is contained in:
liuwu 2023-08-24 15:05:35 +08:00
parent d218e423a9
commit a630a8f533
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="groupAll" resultType="map"> <select id="groupAll" resultType="map">
SELECT SELECT
shot_name, shot_name,
type,
SUM( score ) score, SUM( score ) score,
IF( SUM( now_score ), SUM( now_score ), 0 ) nowScore, IF( SUM( now_score ), SUM( now_score ), 0 ) nowScore,
ROUND(IF( SUM( now_score ), SUM( now_score ), 0 )/ SUM( score )) percent ROUND(IF( SUM( now_score ), SUM( now_score ), 0 )/ SUM( score )) percent