瀏覽代碼

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

zengyicheng 1 年之前
父節點
當前提交
4ab469a453
共有 1 個文件被更改,包括 12 次插入0 次删除
  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];