lsc 2 years ago
parent
commit
daba48d494
1 changed files with 6 additions and 0 deletions
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -899,6 +899,12 @@ router.route('/selectSchoolName2').all((req, res, next) => {
     getmysql(req, res, "selectOidName2", json['oid']);
     getmysql(req, res, "selectOidName2", json['oid']);
 });
 });
 
 
+//查询学校
+router.route('/selectSchoolNameOrg').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectSchoolNameOrg", json['org'], json['page'], 10);
+});
+
 //新增批注
 //新增批注
 router.route('/addPz').all((req, res, next) => {
 router.route('/addPz').all((req, res, next) => {
     postmysql(req, res, "addPz");
     postmysql(req, res, "addPz");