BI查询修改
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
|
||||
<select id="selectLatestPayloadJson" resultType="java.lang.String">
|
||||
select PAYLOAD_JSON
|
||||
from BI_COMPREHENSIVE_SNAPSHOT
|
||||
order by UPDATE_TIME desc, ID desc
|
||||
from NGWL_TEST_BI.BI_COMPREHENSIVE_SNAPSHOT
|
||||
where DEL_FLAG = 1
|
||||
order by CREATE_TIME desc nulls last, ID desc
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
+3
-2
@@ -5,8 +5,9 @@
|
||||
|
||||
<select id="selectLatestPayloadJson" resultType="java.lang.String">
|
||||
select PAYLOAD_JSON
|
||||
from BI_PLATFORM_SURVEILLANCE_SNAPSHOT
|
||||
order by UPDATE_TIME desc, ID desc
|
||||
from NGWL_TEST_BI.BI_PLATFORM_SURVEILLANCE_SNAPSHOT
|
||||
where DEL_FLAG = 1
|
||||
order by CREATE_TIME desc nulls last, ID desc
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
+3
-2
@@ -5,8 +5,9 @@
|
||||
|
||||
<select id="selectLatestPayloadJson" resultType="java.lang.String">
|
||||
select PAYLOAD_JSON
|
||||
from BI_WAREHOUSE_TRANSPORT_SNAPSHOT
|
||||
order by UPDATE_TIME desc, ID desc
|
||||
from NGWL_TEST_BI.BI_WAREHOUSE_TRANSPORT_SNAPSHOT
|
||||
where DEL_FLAG = 1
|
||||
order by CREATE_TIME desc nulls last, ID desc
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user