瀏覽代碼

查询学校底下的所有学生

zengyicheng 2 年之前
父節點
當前提交
b9f696f2a4
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -345,6 +345,12 @@ router.route('/selectStudentByScoolPPt').all((req, res, next) => {
     getmysql(req, res, "selectStudentByScoolPPt", json['oid'], json['cid']);
 });
 
+/* 查询学校底下的所有学生 */
+router.route('/selectOrgStu').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectOrgStu", json['oid']);
+});
+
 /* 查询学生 */
 router.route('/selectStudentAdd').all((req, res, next) => {
     var json = queryString(req.url);