@@ -62,8 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
group_name as groupName,
sum(
case
- when type = 1 then score
- when type = 2 then -score
+ when type = 0 then score
+ when type = 1 then -score
else 0
end
) as totalScore