Commit 1a6df2dd by 王昆

gsb

parent 510bacaf
......@@ -16,6 +16,7 @@ module.exports = (db, DataTypes) => {
invoice_number: DataTypes.STRING,
invoice_time: DataTypes.DATE,
invoice_amount: DataTypes.BIGINT,
invoice_img: DataTypes.STRING,
sve_invoice_id: DataTypes.STRING,
apply_no: DataTypes.STRING,
from_name: DataTypes.STRING,
......
......@@ -97,7 +97,7 @@ class SaasinvoiceapplyService extends ServiceBase {
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") {
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