Commit 3958de66 by 王勇飞

fi-tax bizopt api

parent f53ad064
......@@ -77,8 +77,11 @@ class BizOptCtl extends CtlBase {
* @param req
*/
async distribution(mobj, qobj, req) {
var pobj = mobj.d;
let pobj = mobj.d;
let params = {
demandCodeList: ["1", "2", "3"],//至少一个需求编号
salesman_id: "jdlfaj"//唯一标识
}
}
/*根据商机编号获取商机详情*/
......
......@@ -20,13 +20,13 @@ class BizoptDao extends Dao {
//不是来自平台前端查询
if (qobj.bizpath && qobj.bizpath.indexOf("pmx") < 0) {
qc.where.business_type = qc.where.business_type || {
[this.db.Op.notIn]: ["ICP", "EDI"]
}
if (qobj.bizpath && qobj.bizpath != "") {
if (qobj.bizpath.indexOf("myChance") > 0) {//说明是从商机列表过来的
qw["salesman_id"] = qobj.userid;
}
[this.db.Op.In]: ["ft"]
}
// if (qobj.bizpath && qobj.bizpath != "") {
// if (qobj.bizpath.indexOf("myChance") > 0) {//说明是从商机列表过来的
// qw["salesman_id"] = qobj.userid;
// }
// }
}
}
......
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