wangxx пре 3 недеља
родитељ
комит
c93d337a60

+ 2 - 2
airport-ledger/src/main/resources/mapper/ledger/ScoreEmployeeAdditionalMapper.xml

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