Commit 588c5344 by chenjinjing

no message

parent a95216ca
......@@ -113,7 +113,9 @@ export async function getPinyinName(req, res) {
let {pinyinName, industry, page} = req.body;
let ret: any = {};
let selectParam = { pinyinName:{"%like%":pinyinName}, industry: { "%like%": industry } };
let selectParam = {};
if (pinyinName) selectParam["pinyinName"] = {"%like%":pinyinName};
if (industry) selectParam["industry"] = { "%like%": industry };
let dbList = await selectData(OPERATIONALDATATYPE.分页查询, TABLENAME.企业基础信息表, selectParam, ["eId", "enterpriseName"], page);
let dbCount = await selectData(OPERATIONALDATATYPE.查询数据量, TABLENAME.企业基础信息表, selectParam, null);
......
......@@ -193,10 +193,10 @@ export async function getZhyy() {
let fhColumn = ["fId", "eId", "startTime", "endTime", "state", "virtualCause", "virtualCauseDes", "moveOutType",
"moveOutTrace", "moveOutCause", "moveOutTime", "graduationTime", ];
let 在孵dbList = await selectData(OPERATIONALDATATYPE.查询多个, TABLENAME.企业孵化信息, {state: { "%between%": [FUHUASTATE.实体孵化, FUHUASTATE.虚拟孵化] }}, fhColumn);
zhyy.孵化运营.count = [{key:"在孵企业", value:"102家"}];
zhyy.孵化运营.count = [{key:"在孵企业", value:`${在孵dbList.length}家`}];
let {在孵企业面积变化趋势, 行业领域分布} = await get在孵企业面积变化趋势();
zhyy.孵化运营.dataList = [{}]
......
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