20 lines
829 B
XML
20 lines
829 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.example.demo.mapper.YpxxPesticideMapper">
|
|
|
|
<resultMap id="BaseResultMap" type="com.example.demo.domain.YpxxPesticide">
|
|
<result property="id" column="id" jdbcType="INTEGER"/>
|
|
<result property="pesticideName" column="pesticide_name" jdbcType="OTHER"/>
|
|
<result property="rpfFrom" column="RPF_from" jdbcType="OTHER"/>
|
|
<result property="rpf" column="RPF" jdbcType="FLOAT"/>
|
|
<result property="pesticideType" column="pesticide_type" jdbcType="OTHER"/>
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
id,pesticide_name,RPF_from,
|
|
RPF,pesticide_type
|
|
</sql>
|
|
</mapper>
|