@@ -597,6 +597,7 @@ module.exports = app => {
if (!this.newBills) {
await this.transaction.update(this.ctx.service.ledger.tableName, { id: pre.id, order: pre[this.setting.order] + count });
}
+ order.push(pre[this.setting.order] + count);
await this.transaction.commit();
this.transaction = null;
} catch (err) {