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