select
                from_unixtime(payTime, 'yyyyMMdd') as pay_time,
                uid,
                orderid,
                fee,
                get_json_object(
                    reflect(
                        'java.net.URLDecoder',
                        'decode',
                        get_json_object(ext, '$.callbackInfo'),
                        "GBK"
                    ),
                    '$.fromChannel'
                ) as from_channel,
                get_json_object(
                    reflect(
                        'java.net.URLDecoder',
                        'decode',
                        get_json_object(ext, '$.callbackInfo'),
                        "GBK"
                    ),
                    '$.secondFrom'
                ) as second_from
            from
                test_table
            where
                dt = '{@date}'
                and serviceId = 36
                and payStatus = 1
                and from_unixtime(payTime, 'yyyyMMdd') = '{@date}'
                and ext like '%gaokao%'

 

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2021-07-08
  • 2022-12-23
  • 2021-11-16
  • 2021-10-22
  • 2022-03-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2021-11-30
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案