select id, uid, money, FROM_UNIXTIME(created) as created, type FROM  
(  
#type=1是  cjw_finance_bonus查出的内容
select id, uid,balance as money, '1' as type, created FROM cjw_finance_bonus 
WHERE uid = 281
  
union all  
#type=12是  cjw_qb_cashuser查出的内容  
select id, uid,money, '2' as type, createtime as created FROM cjw_qb_cashuser  
WHERE uid = 281   
)tmp  ORDER BY created DESC

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2021-12-08
  • 2021-11-08
  • 2021-08-13
猜你喜欢
  • 2021-08-15
  • 2021-11-16
  • 2022-12-23
  • 2022-01-15
  • 2021-06-01
  • 2021-03-31
  • 2021-09-07
相关资源
相似解决方案