BI二级页面查询
This commit is contained in:
+9
@@ -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) > 0
|
||||
)
|
||||
)
|
||||
</if>
|
||||
order by CREATE_TIME desc nulls last, ID desc
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
+9
@@ -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) > 0
|
||||
)
|
||||
)
|
||||
</if>
|
||||
order by CREATE_TIME desc nulls last, ID desc
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user