Commit 190d04f8 by sxy

fix: 权限like

parent c73d9c1e
......@@ -15,7 +15,7 @@ class BizoptDao extends Dao {
qc.where["facilitator_id"] = Number(qobj.company_id || -1);
// 组织结构
if (qobj.opath && qobj.opath != "") {
qc.where["salesman_opcode"] = { [this.db.Op.like]: `'%${qobj.opath}%'` }
qc.where["salesman_opcode"] = { [this.db.Op.like]: `%${qobj.opath}%` }
}
qc.raw = true;
......
......@@ -15,7 +15,7 @@ class DeliverDao extends Dao {
qc.where["facilitator_id"] = Number(qobj.company_id || -1);
// 组织结构
if (qobj.opath && qobj.opath != "") {
qc.where["salesman_opcode"] = { [this.db.Op.like]: `'%${qobj.opath}%'` }
qc.where["salesman_opcode"] = { [this.db.Op.like]: `%${qobj.opath}%` }
}
qc.raw = true;
......
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