Browse Source

修改 api/Bank/QueryHybridReceiverOnboards 接口无法获取 MyPay 渠道接收人的 Bug

muchinfo 6 tháng trước cách đây
mục cha
commit
7ab122c5ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/bank.go

+ 1 - 1
models/bank.go

@@ -286,7 +286,7 @@ select
   b.bank_name,
   b.method_type
 from HYBRID_RECEIVERONBOARD t
-inner join HYBRID_BANKINFO b on b.channel_code = t.channel_code and b.bank_code = t.bank and b.out_in_flag = 0 
+left 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
 	`