Переглянути джерело

查询评测 评测中心及作业

zengyicheng 1 рік тому
батько
коміт
597eb6c765
1 змінених файлів з 22 додано та 3 видалено
  1. 22 3
      pbl.js

+ 22 - 3
pbl.js

@@ -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"]
+    );
 });