Files
geographysdk/src/main/resources/mapper/PakBlocksMapper.xml
2025-09-08 17:06:22 +08:00

20 lines
769 B
XML

<?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.yjdsj.pak.mapper.PakBlocksMapper">
<resultMap id="BaseResultMap" type="com.yjdsj.pak.domain.PakBlocks">
<id column="z" jdbcType="INTEGER" property="z"/>
<id column="x" jdbcType="INTEGER" property="x"/>
<id column="y" jdbcType="INTEGER" property="y"/>
<result property="tile" column="tile" typeHandler="com.yjdsj.common.handler.BlobTypeHandler"/>
</resultMap>
<select id="selectByCondition" resultMap="BaseResultMap">
SELECT *
FROM ${tableName}
WHERE z = #{z}
AND x = #{x}
AND y = #{y}
</select>
</mapper>