Commit 1a6df2dd by 王昆

gsb

parent 510bacaf
...@@ -16,6 +16,7 @@ module.exports = (db, DataTypes) => { ...@@ -16,6 +16,7 @@ module.exports = (db, DataTypes) => {
invoice_number: DataTypes.STRING, invoice_number: DataTypes.STRING,
invoice_time: DataTypes.DATE, invoice_time: DataTypes.DATE,
invoice_amount: DataTypes.BIGINT, invoice_amount: DataTypes.BIGINT,
invoice_img: DataTypes.STRING,
sve_invoice_id: DataTypes.STRING, sve_invoice_id: DataTypes.STRING,
apply_no: DataTypes.STRING, apply_no: DataTypes.STRING,
from_name: DataTypes.STRING, from_name: DataTypes.STRING,
......
...@@ -97,7 +97,7 @@ class SaasinvoiceapplyService extends ServiceBase { ...@@ -97,7 +97,7 @@ class SaasinvoiceapplyService extends ServiceBase {
let invoice = {}; let invoice = {};
for (let idx in apply) { for (let idx in apply.dataValues) {
if (idx == "created_at" || idx == "updated_at" || idx == "deleted_at" || idx == "version") { if (idx == "created_at" || idx == "updated_at" || idx == "deleted_at" || idx == "version") {
continue; continue;
} }
......
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