| | |
| | | where b.pubid = #{pubid}; |
| | | </select> |
| | | |
| | | <select id="selectRaster" resultType="com.moon.server.entity.data.PublishEntity"> |
| | | select c.cn_name "name", c.unit, a.* |
| | | from lf.sys_publish a inner join lf.sys_res b on a.id = b.pubid |
| | | inner join lf.sys_layer c on b.id = c.resid |
| | | where a.type in ('DOM', 'DEM') and a.status = 3 and c.status = 1; |
| | | </select> |
| | | |
| | | <select id="selectByLayerId" resultType="com.moon.server.entity.data.PublishEntity"> |
| | | select a.* |
| | | from lf.sys_publish a inner join lf.sys_res b on a.id = b.pubid |
| | | inner join lf.sys_layer c on b.id = c.resid |
| | | where c.id = #{layerId} |
| | | limit 1; |
| | | </select> |
| | | |
| | | <select id="selectCodesForDir" resultType="java.lang.String"> |
| | | select code |
| | | from lf.sys_dir |