Commit 5a24b62f by chenjinjing

no message

parent 3b521d8a
...@@ -113,9 +113,9 @@ export async function getPinyinName(req, res) { ...@@ -113,9 +113,9 @@ export async function getPinyinName(req, res) {
let {pinyinName, industry, page} = req.body; let {pinyinName, industry, page} = req.body;
let ret: any = {}; let ret: any = {};
let param = { pinyinName:{"%like%":pinyinName}, industry: { "%like%": industry } }; let selectParam = { pinyinName:{"%like%":pinyinName}, industry: { "%like%": industry } };
let dbList = await selectData(OPERATIONALDATATYPE.分页查询, TABLENAME.企业基础信息表, param, ["eId", "enterpriseName"], page); let dbList = await selectData(OPERATIONALDATATYPE.分页查询, TABLENAME.企业基础信息表, selectParam, ["eId", "enterpriseName"], page);
let dbCount = await selectData(OPERATIONALDATATYPE.查询数据量, TABLENAME.企业基础信息表, param, ["eId", "enterpriseName"]); let dbCount = await selectData(OPERATIONALDATATYPE.查询数据量, TABLENAME.企业基础信息表, selectParam, null);
let enterpriseNameList = []; let enterpriseNameList = [];
dbList.forEach( info => { dbList.forEach( info => {
......
...@@ -109,7 +109,6 @@ export async function getEnterprise() { ...@@ -109,7 +109,6 @@ export async function getEnterprise() {
export async function get入孵企业数量变化趋势(type, time, state) { export async function get入孵企业数量变化趋势(type, time, state) {
let fuHuaParam:any = {state:{"%ne%":0}}; let fuHuaParam:any = {state:{"%ne%":0}};
if (state == "迁入") { if (state == "迁入") {
fuHuaParam = {state:{"%between%": [2, 3]}}; fuHuaParam = {state:{"%between%": [2, 3]}};
......
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