src/main/resources/mapper/data/PublishMapper.xml
@@ -103,7 +103,10 @@ </select> <select id="selectRaster" resultType="com.moon.server.entity.data.PublishEntity"> select * from lf.sys_publish where status = 3 and type in ('DOM', 'DEM'); 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">