Commit f8f407d7 by linboxuan

opneedInfo update

parent 6a74a04a
......@@ -34,10 +34,13 @@ class DiagnosisAPI extends APIBase {
case "enterpriseInfo":
opResult = await this.diagnosisSve.enterpriseInfo(pobj, pobj.actionBody, req);
break;
case 'getNeedList': // 需求列表 20 08 12 liang
case 'opSubmitNeed': // 下需求 2020 0813 lin
opResult = await this.needSve.opSubmitNeed(pobj, pobj.actionBody, req);
break
case 'opNeedList': // 需求列表 20 08 12 liang
opResult = await this.needSve.opNeedList(pobj, pobj.actionBody, req);
break
case 'getNeedDetail': // 需求详情 20 08 12 liang
case 'getItemByNeedNo': // 需求详情 20 08 12 liang
opResult = await this.needSve.getItemByNeedNo(pobj);
break
default:
......
......@@ -26,13 +26,15 @@ class NeedinfoDao extends Dao {
"followContent",
"disposeNotes",
"status",
"statusName",
"typeCode",
"typeName",
"channelTypeCode",
"channelTypeName",
"publisherOnlyCode",
"followManName",
"followManOnlyCode"],
"followManOnlyCode",
"createdAt"],
raw: true
});
}
......
......@@ -60,7 +60,7 @@ class NeedinfoService extends ServiceBase {
pageSize: Number(actionBody.pageSize) || 10
}
}
if (actionBody.ConsultType) {
if (actionBody.consultType) {
sobj.search.consult_type = actionBody.consultType;
}
// liang 追加筛选条件
......
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