|
@@ -2745,10 +2745,29 @@ router.route("/selectTesttCourseCenter").all((req, res, next) => {
|
|
|
);
|
|
|
});
|
|
|
|
|
|
-//根据课程id查询评测作业
|
|
|
-router.route("/getTestCourseWorksByCourseId").all((req, res, next) => {
|
|
|
+//查询评测 评测中心及作业
|
|
|
+router.route("/selectTesttCourseCenter1").all((req, res, next) => {
|
|
|
var json = queryString(req.url);
|
|
|
- getmysql(req, res, "getTestCourseWorksByCourseId", json["cid"]);
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "selectTesttCourseCenter1",
|
|
|
+ json["type"],
|
|
|
+ json["uid"],
|
|
|
+ json["oid"],
|
|
|
+ json["org"],
|
|
|
+ json["classid"],
|
|
|
+ json["typea"],
|
|
|
+ json["typeb"],
|
|
|
+ json["typec"],
|
|
|
+ json["typed"],
|
|
|
+ json["typef"],
|
|
|
+ json["typeE"],
|
|
|
+ json["cu"],
|
|
|
+ json["cn"],
|
|
|
+ json["page"],
|
|
|
+ json["pageSize"]
|
|
|
+ );
|
|
|
});
|
|
|
|
|
|
|