Commit bfb52868 by 王勇飞

Merge branch 'tx-fi-tax' of gitlab.gongsibao.com:jiangyong/zhichan into tx-fi-tax

parents 28ac989d fd68779d
......@@ -35,6 +35,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 => {
......@@ -69,6 +70,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.eq]: "bookkeeping"
}
......
......@@ -107,7 +107,7 @@ module.exports = (db, DataTypes) => {
allowNull: true,
type: DataTypes.STRING
},
delivery_man_id: {// 交付员id
delivery_man_id: {// 交付员idP
allowNull: true,
type: DataTypes.STRING
},
......
......@@ -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