Commit 30861257 by 王勇飞

add faild company_name

parent ffb80cc9
......@@ -151,6 +151,9 @@ class DeliverybillDao extends Dao {
if (qobj.schemeNumber && qobj.schemeNumber != 'undefined') {
obj.scheme_number = qobj.schemeNumber;
}
if (qobj.companyName && qobj.companyName != 'undefined') {
obj.company_name = qobj.companyName;
}
if (qobj.businessName && qobj.businessName != 'undefined') {
obj.product_name = qobj.businessName;
}
......
......@@ -42,6 +42,10 @@ module.exports = (db, DataTypes) => {
allowNull: true,
type: DataTypes.STRING
},
company_name: {// 方案编号
allowNull: true,
type: DataTypes.STRING
},
product_code: { // 产品编码
allowNull: true,
type: DataTypes.STRING
......
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