BI二级页面查询

This commit is contained in:
秦鸿展
2026-05-19 14:18:20 +08:00
parent fea6b30c16
commit bab277f244
25 changed files with 586 additions and 16 deletions
@@ -7,6 +7,15 @@
select PAYLOAD_JSON
from NGWL_TEST_BI.BI_TRANSPORT_OPERATION_ZONE_SNAPSHOT
where DEL_FLAG = 1
<if test="organizationName != null and organizationName != ''">
and (
ORGANIZATION_NAME like '%' || #{organizationName} || '%'
or (
ORGANIZATION_NAME is not null
and INSTR(#{organizationName}, ORGANIZATION_NAME) &gt; 0
)
)
</if>
order by CREATE_TIME desc nulls last, ID desc
limit 1
</select>
@@ -7,6 +7,15 @@
select PAYLOAD_JSON
from NGWL_TEST_BI.BI_WAREHOUSE_OPERATION_ZONE_SNAPSHOT
where DEL_FLAG = 1
<if test="organizationName != null and organizationName != ''">
and (
ORGANIZATION_NAME like '%' || #{organizationName} || '%'
or (
ORGANIZATION_NAME is not null
and INSTR(#{organizationName}, ORGANIZATION_NAME) &gt; 0
)
)
</if>
order by CREATE_TIME desc nulls last, ID desc
limit 1
</select>