mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 19:16:27 +00:00
update
This commit is contained in:
@@ -853,6 +853,7 @@ const getLastHistory = (cardNumber) => {
|
||||
let result = knex('log.t_log_card')
|
||||
.where('c_card_number', cardNumber)
|
||||
.whereIn('i_log_name', [21, 90])
|
||||
.where('c_source', 'CMS')
|
||||
.where('c_status', 'S')
|
||||
.orderBy('d_log', 'desc')
|
||||
.first();
|
||||
@@ -921,7 +922,8 @@ const checkCardHistory = (c_card_number) => {
|
||||
let result = knex('log.t_log_card')
|
||||
.select(['i_log_name'])
|
||||
.where('c_card_number', c_card_number)
|
||||
.whereIn('i_log_name', ['21', '90'])
|
||||
.whereIn('i_log_name', [21, 90])
|
||||
.where('c_source', 'CMS')
|
||||
.orderBy('d_log', 'DESC')
|
||||
.first();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user