|
@@ -0,0 +1,25 @@
|
|
|
+<?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.huimv.cattle.mapper.InsureMapper">
|
|
|
+
|
|
|
+ <!-- 通用查询映射结果 -->
|
|
|
+ <resultMap id="BaseResultMap" type="com.huimv.cattle.pojo.Insure">
|
|
|
+ <id column="id" property="id" />
|
|
|
+ <result column="policy_holder" property="policyHolder" />
|
|
|
+ <result column="amount" property="amount" />
|
|
|
+ <result column="insurance_time" property="insuranceTime" />
|
|
|
+ <result column="period" property="period" />
|
|
|
+ <result column="insurance_count" property="insuranceCount" />
|
|
|
+ <result column="insurance_company" property="insuranceCompany" />
|
|
|
+ <result column="insurance_type" property="insuranceType" />
|
|
|
+ <result column="insurance_out" property="insuranceOut" />
|
|
|
+ <result column="premium" property="premium" />
|
|
|
+ <result column="insurance_status" property="insuranceStatus" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <!-- 通用查询结果列 -->
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id, policy_holder, amount, insurance_time, period, insurance_count, insurance_company, insurance_type, insurance_out, premium, insurance_status
|
|
|
+ </sql>
|
|
|
+
|
|
|
+</mapper>
|