Commit 3ca9bea3 by chenjinjing

no message

parent f28ddecc
...@@ -114,6 +114,7 @@ export async function getPinyinName(req, res) { ...@@ -114,6 +114,7 @@ export async function getPinyinName(req, res) {
let ret: any = {}; let ret: any = {};
let dbList = await selectData(OPERATIONALDATATYPE.分页查询, TABLENAME.企业基础信息表, { pinyinName:{"%like%":pinyinName} }, null, page); let dbList = await selectData(OPERATIONALDATATYPE.分页查询, TABLENAME.企业基础信息表, { pinyinName:{"%like%":pinyinName} }, null, page);
let dbCount = await selectData(OPERATIONALDATATYPE.查询数据量, TABLENAME.企业基础信息表, { pinyinName:{"%like%":pinyinName} }, null);
let enterpriseNameList = []; let enterpriseNameList = [];
dbList.forEach( info => { dbList.forEach( info => {
...@@ -121,7 +122,7 @@ export async function getPinyinName(req, res) { ...@@ -121,7 +122,7 @@ export async function getPinyinName(req, res) {
}) })
ret['qymcList'] = enterpriseNameList; ret['qymcList'] = enterpriseNameList;
ret['dataCount'] = dbList.length; ret['dataCount'] = dbCount;
res.send(ret); res.send(ret);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment