MoniResultMapper.xml 1.56 KB
<?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.subsidy.mapper.MoniResultMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.subsidy.model.MoniResultDO">
        <id column="id" property="id" />
        <result column="create_date" property="createDate" />
        <result column="update_date" property="updateDate" />
        <result column="delete_date" property="deleteDate" />
        <result column="major_name" property="majorName" />
        <result column="college" property="college" />
        <result column="graduate" property="graduate" />
        <result column="exp1" property="exp1" />
        <result column="exp2" property="exp2" />
        <result column="exp3" property="exp3" />
        <result column="exp4" property="exp4" />
        <result column="exp5" property="exp5" />
        <result column="exp6" property="exp6" />
        <result column="exp7" property="exp7" />
        <result column="exp8" property="exp8" />
        <result column="exp9" property="exp9" />
        <result column="exp10" property="exp10" />
        <result column="exp11" property="exp11" />
        <result column="exp12" property="exp12" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        create_date,
        update_date,
        delete_date,
        id, major_name, college, graduate, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, exp9, exp10, exp11, exp12
    </sql>

</mapper>