Commit 2fbe3f61 by 王勇飞

Merge branch 'ic-deliver' of gitlab.gongsibao.com:jiangyong/zhichan into ic-deliver

parents 3bfc9835 4848b0bf
...@@ -150,11 +150,11 @@ class Dao { ...@@ -150,11 +150,11 @@ class Dao {
var aggsinfos = []; var aggsinfos = [];
if (qobj.aggsinfo) { if (qobj.aggsinfo) {
qobj.aggsinfo.sum.forEach(aggitem => { qobj.aggsinfo.sum.forEach(aggitem => {
var t1 = [this.db.fn('SUM', this.db.col(aggitem.field)), aggitem.field + "_" + "sum"]; var t1 = [this.db.fn('SUM', this.db.col(aggitem.field)), aggitem.field + "~" + "sum"];
aggsinfos.push(t1); aggsinfos.push(t1);
}); });
qobj.aggsinfo.avg.forEach(aggitem => { qobj.aggsinfo.avg.forEach(aggitem => {
var t2 = [this.db.fn('AVG', this.db.col(aggitem.field)), aggitem.field + "_" + "avg"]; var t2 = [this.db.fn('AVG', this.db.col(aggitem.field)), aggitem.field + "~" + "avg"];
aggsinfos.push(t2); aggsinfos.push(t2);
}); });
} }
......
...@@ -140,7 +140,7 @@ module.exports = { ...@@ -140,7 +140,7 @@ module.exports = {
"no": "不需要" "no": "不需要"
}, },
"addressTypeDict": {//经营地址类型 "addressTypeDict": {//经营地址类型
" practical ": "实际经营地址", "practical": "实际经营地址",
"virtual": "虚拟地址" "virtual": "虚拟地址"
}, },
"registeredTypeDict": {//个体户类型 "registeredTypeDict": {//个体户类型
...@@ -157,7 +157,7 @@ module.exports = { ...@@ -157,7 +157,7 @@ module.exports = {
}, },
"agentTypeDict": {//代理记账主体类型 "agentTypeDict": {//代理记账主体类型
"company": "公司", "company": "公司",
"individual ": "个体户" "individual": "个体户"
}, },
"dyDict":{//产品对应关系 "dyDict":{//产品对应关系
"/ic/gsreg/":"companyCase", "/ic/gsreg/":"companyCase",
......
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