BI查询修改

This commit is contained in:
秦鸿展
2026-05-08 10:00:11 +08:00
parent ab7534e134
commit 5539a7c39b
9 changed files with 109 additions and 46 deletions
@@ -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>
@@ -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>
@@ -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>