Commit 079cfad3 by 王勇飞

gyq

parent a0f35f12
......@@ -32,6 +32,7 @@ class BizOptCtl extends CtlBase {
delete pobj.search.dateType
}
const rs = await this.service.findAndCountAll(pobj);
console.log("rs-------------" + rs);
let rarr = [];
let results = rs.results.rows;
results.forEach(element => {
......@@ -66,6 +67,7 @@ class BizOptCtl extends CtlBase {
rs.results.rows = rarr;
return system.getResult(rs);
} catch (error) {
console.log("error------------------------" + error);
return system.getResultError(error);
}
}
......
......@@ -19,6 +19,7 @@ class BizoptDao extends Dao {
}
//不是来自平台前端查询
if (qobj.bizpath && qobj.bizpath.indexOf("pmx") < 0) {
console.log("bizpath-------------" + qobj.bizpath);
qc.where.business_type = qc.where.business_type || {
[this.db.Op.In]: ["bookkeeping"]
}
......@@ -27,6 +28,7 @@ class BizoptDao extends Dao {
// qw["salesman_id"] = qobj.userid;
// }
// }
console.log(")))))))))))))))))))))))))))))))))");
}
}
......
......@@ -20,9 +20,9 @@ var settings = {
salt: "%iatpD1gcxz7iF#B",
defaultpwd: "gsb2020",
basepath: path.normalize(path.join(__dirname, '../..')),
port: process.env.NODE_PORT || 8888,
port: process.env.NODE_PORT || 8889,
logindex: "center_manage",
appname: "ic_deliver",
appname: "book-deliver",
kongurl: function () {
if (this.env == "localhost") {
var localsettings = require("./localsettings");
......
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