修复数据统计异常
This commit is contained in:
@@ -70,7 +70,7 @@ module.exports = {
|
|||||||
return sql
|
return sql
|
||||||
},
|
},
|
||||||
batchInsert({table, list}) {
|
batchInsert({table, list}) {
|
||||||
return query(list.map(e => this.insert({table, e})).join(";"))
|
return query(list.map(form => this.insert({table, form})).join(";"))
|
||||||
},
|
},
|
||||||
addOrUpdate: ({table, form}) => {
|
addOrUpdate: ({table, form}) => {
|
||||||
//新增和更新
|
//新增和更新
|
||||||
|
|||||||
Reference in New Issue
Block a user