<?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.yifu.cloud.plus.v1.yifu.insurances.mapper.ekp.EkpSettleMapper"> <resultMap id="BaseResultMap" type="com.yifu.cloud.plus.v1.yifu.insurances.vo.SettleVo"> <id property="id" column="fd_id" jdbcType="VARCHAR"/> <result property="detailId" column="fd_3b05ba46bb042e" jdbcType="VARCHAR"/> <result property="estimateStatus" column="fd_3b05ba4808a3ca" jdbcType="VARCHAR"/> <result property="actualStatus" column="fd_3b05bd5ed0b976" jdbcType="VARCHAR"/> </resultMap> <sql id="Base_Column_List"> fd_id,fd_3b05ba46bb042e,fd_3b05ba4808a3ca,fd_3b05bd5ed0b976 </sql> <select id="getSettle" resultMap="BaseResultMap"> select <include refid="Base_Column_List"></include> from ekp_f80727b647a403b975ae where fd_3b05ba46bb042e = #{id} </select> </mapper>