Commit 53b9fa41 authored by 周健威's avatar 周健威

添加地区、卫星传感器列表等

parent 47afb816
......@@ -41,7 +41,7 @@
<select id="getDirectSubAreas" resultType="com.upyuns.platform.rs.datacenter.entity.RscpAreaInfo">
select admincode as adminid,name as name, pinyin as namepy
from rscp_area_info where admincode != #{parentId} and admincode like
CASE WHEN #{parentId} = '000000' THEN '%0000' "
CASE WHEN #{parentId} = '000000' THEN '%0000'
WHEN substring(#{parentId}, 3, 4) = '0000' THEN substring(#{parentId}, 1, 2)||'%'||substring(#{parentId}, 5, 2)
ELSE substring(#{parentId}, 1, 4)||'%' END
order by pinyin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment