Merge pull request '查询时间排序' (#64) from dev into sit

Reviewed-on: #64
This commit was merged in pull request #64.
This commit is contained in:
wang_lei1
2021-08-04 10:08:55 +00:00
+1 -1
View File
@@ -19,7 +19,7 @@
AND (SND_TIME<=?)
AND (A.GET_TIME <=? OR A.GET_TIME IS NULL)
AND A.DSK_NAM = B.DSK_NAM AND B.Customer_Id = C.Customer_Id
order by rank)
order by rank,nvl(a.GET_TIME,0))
where ROWNUM = '1' )
FOR UPDATE skip locked
</Sentence>