Browse Source

查询学校底下的所有学生

zengyicheng 2 năm trước cách đây
mục cha
commit
b9f696f2a4
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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);