table1:=`(SELECT id,uid,channel_id,pay_channel,orderid,fail_reason,apipayid,payaccount,amount,create_time,callback_time,status,operator from withdraw_order %s)a`
table1:=`(SELECT id,uid,channel_id,pay_channel,orderid,fail_reason,apipayid,payaccount,amount,create_time,callback_time,status,operator from withdraw_order %s)a`
table2:=`(SELECT id,platform,mobile,tag from users %s)b`
table2:=`(SELECT id,platform,mobile,tag from users %s)b`
table3:=`(SELECT uid,inr from player_currency)c`
table3:=`(SELECT uid,inr from player_currency)c`
table4:=`(SELECT uid,total_recharge,total_recharge_count,total_withdraw,total_withdraw_count FROM recharge_info)d`
table4:=`(SELECT uid,total_recharge,total_recharge_count,total_withdraw,total_withdrawing,total_withdraw_count FROM recharge_info)d`
// 表1的查询条件
// 表1的查询条件
table1Condition:=fmt.Sprintf(" where event = %v and order_type = %d",common.CurrencyEventWithDraw,req.Type)
table1Condition:=fmt.Sprintf(" where event = %v and order_type = %d",common.CurrencyEventWithDraw,req.Type)