摘要:
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. 阅读全文
posted @ 2011-10-24 13:53
dinid
阅读(546)
评论(0)
推荐(0)
浙公网安备 33010602011771号