Commit 02d395a3 by 王昆

gsb

parent abec0a63
......@@ -32,6 +32,14 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.DATE,
allowNull: true
},
order_item_id: {
type: DataTypes.STRING,
allowNull: true
},
channel_rsp_no: {
type: DataTypes.STRING,
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
......
......@@ -27,7 +27,8 @@ class TransactioninService extends ServiceBase {
var orderby = [
["id", 'desc']
];
var attributes = [`id`, `company_name`, `id_name`, `id_no`, `bank_no`, `actual_amount`, `transaction_time`, `sign_body`];
var attributes = [`id`, `company_name`, `id_name`, `id_no`, `bank_no`, `actual_amount`, `transaction_time`, `sign_body`,`order_item_id`, `channel_rsp_no`];
var page = await this.getPageList(currentPage, pageSize, where, orderby, attributes);
if (page && page.rows) {
for (var row of page.rows) {
......
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