|
@@ -4,6 +4,7 @@ import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
+import cn.hmsoft.art.data.model.sc.ScStdSubject;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -23,7 +24,7 @@ public class ScoreCheckContorl extends ArtControl {
|
|
|
|
|
|
@RequestMapping("score/check/std")
|
|
@RequestMapping("score/check/std")
|
|
public Ajax checkStd(int std_id) {
|
|
public Ajax checkStd(int std_id) {
|
|
- Map<String, Object> returnMap = new HashMap<String, Object>();
|
|
|
|
|
|
+ /*Map<String, Object> returnMap = new HashMap<String, Object>();
|
|
// 原始成绩
|
|
// 原始成绩
|
|
returnMap.put("SubjectScoreArray", this.daoStdSubject.list("std_id", std_id, new QueryOrder("subject_id")));
|
|
returnMap.put("SubjectScoreArray", this.daoStdSubject.list("std_id", std_id, new QueryOrder("subject_id")));
|
|
// 专业成绩
|
|
// 专业成绩
|
|
@@ -35,7 +36,9 @@ public class ScoreCheckContorl extends ArtControl {
|
|
returnMap.put("SubjectArray_" + aspect_id + "_" + i,
|
|
returnMap.put("SubjectArray_" + aspect_id + "_" + i,
|
|
this.daoStdAspect.listStdSubject(std_id, aspect_id, i,null));
|
|
this.daoStdAspect.listStdSubject(std_id, aspect_id, i,null));
|
|
}
|
|
}
|
|
- returnMap.put("AspectArray", aspectArray);
|
|
|
|
- return new Ajax(returnMap);
|
|
|
|
|
|
+ returnMap.put("AspectArray", aspectArray);*/
|
|
|
|
+
|
|
|
|
+ List<ScStdSubject> subjectArray = this.daoStdSubject.list("std_id", std_id);
|
|
|
|
+ return new Ajax(subjectArray);
|
|
}
|
|
}
|
|
}
|
|
}
|