zhouxnsz vor 9 Monaten
Ursprung
Commit
35279eb0ff
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      models/bank.go

+ 1 - 1
models/bank.go

@@ -278,7 +278,7 @@ select
   t.status, 
   b.bank_name
 from HYBRID_RECEIVERONBOARD t
-inner join HYBRID_BANKINFO b on b.channel_code = t.channel_code
+inner join HYBRID_BANKINFO b on b.channel_code = t.channel_code and b.bank_code = t.bank and b.out_in_flag = 0 
 inner join taaccount ta on ta.accountid = t.accountid
 inner join useraccount u on u.userid = ta.userid
 	`