This commit is contained in:
parent
6ec057ff38
commit
1658ba5177
@ -57,20 +57,18 @@ func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {
|
||||
case 101:
|
||||
res[std.Login]["TP2"] += 2
|
||||
case 102:
|
||||
res[std.Login]["TP2"] += 2
|
||||
res[std.Login]["TP2"] += 1
|
||||
case 103:
|
||||
res[std.Login]["TP2"] += 3
|
||||
case 104:
|
||||
res[std.Login]["TP2"] += 1
|
||||
case 105:
|
||||
res[std.Login]["TP2"] += 1
|
||||
case 106:
|
||||
res[std.Login]["TP2"] += 3
|
||||
case 105:
|
||||
res[std.Login]["TP2"] += 2
|
||||
case 106:
|
||||
res[std.Login]["TP2"] += 2
|
||||
case 107:
|
||||
res[std.Login]["TP2"] += 3
|
||||
case 108:
|
||||
res[std.Login]["TP2"] += 2
|
||||
case 109:
|
||||
case 110:
|
||||
res[std.Login]["TP2"] += 2
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user