Browse Source

删除评价体系前查询课程是否有该评价

zengyicheng 1 năm trước cách đây
mục cha
commit
4ab469a453
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      pbl.js

+ 12 - 0
pbl.js

@@ -4183,6 +4183,18 @@ router.route("/deleteEvaluation").all((req, res, next) => {
     postmysql(req, res, "delete_evaluation");
     // id评价id
 });
+
+//删除评价体系前查询课程是否有该评价
+router.route("/selectCourseEva").all((req, res, next) => {
+    var json = queryString(req.url); //cid 课程id,page 页数
+    getmysql(
+        req,
+        res,
+        "select_course_eva",
+        json["eid"],
+    );
+});
+
 //批量添加学校
 router.route("/batchRegistrationSchool").post(function(req, res, next) {
     let users = req.body[0];