修改大屏接口
This commit is contained in:
parent
d218e423a9
commit
a630a8f533
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue