Select x.ApplyID,x.ApplyCode,x.CompanyID,x.ApplyTime,y.UserID,y.Uptime,x.StatusID From otApplyView x join (select  a.* from otApplyFlow a right join (select ApplyID,max(Uptime) as uptime from otApplyFlow Where StatusID = 30 group by ApplyID) b on a.uptime=b.uptime ) y on x.ApplyID= y.ApplyID Where y.UserID=2

相关文章:

  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2021-04-08
猜你喜欢
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案