<?xml version="1.0" encoding="UTF-8" ?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="com.terra.system.mapper.data.UploadMapper">
|
<select id="selectCoords" resultType="com.terra.system.entity.data.CoordEntity">
|
select * from lf.sys_coord
|
<where>
|
1 = 1
|
<if test="zoning != null">
|
and zoning = #{zoning}
|
</if>
|
</where>
|
order by id
|
</select>
|
|
<select id="selectCount4Coord" resultType="java.lang.Integer">
|
select count(*) from lf.sys_coord where epsgcode = #{epsgCode}
|
</select>
|
|
<select id="selectProject" resultType="com.terra.system.entity.data.DirEntity">
|
select * from lf.sys_dir where pid = 0 and id > 1 order by order_num, code;
|
</select>
|
</mapper>
|