Przeglądaj źródła

查询学校底下的所有学生

zengyicheng 2 lat temu
rodzic
commit
b9f696f2a4
1 zmienionych plików z 6 dodań i 0 usunięć
  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);