Mybatis头文件

<?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.sinosoft.module.postSecurity.currency.model.Currency">
    <resultMap id="CurrencyResultMap" type="com.sinosoft.module.postSecurity.currency.model.Currency" >
        <id column="ID" property="id"/>
        <result column="FLOW_TYPE" property="flowType"/>
        <result column="TITLE" property="title"/>
        <result column="APPLY_USER_NAME" property="applyUserName"/>
        <result column="APPLY_DATE" property="applyDate"/>
        <result column="APPLY_USER_DEPT" property="applyUserDept"/>
        <result column="APPLY_CONTENT" property="applyContent"/>
        <result column="CONTACT_USER" property="contactUser"/>
        <result column="CONTACT_PHONE" property="contactPhone"/>
        <result column="ZHUB_DEPT" property="zhubDept"/>
        <result column="PROCEEDING_EXPLANATION" property="proceedingExplanation"/>
        <result column="MEMO" property="memo"/>
        <result column="OVER_DATE" property="overDate"/>
        <result column="ORG_ID" property="orgId"/>
        <result column="CRE_UNIT" property="creUnit"/>
        <result column="CRE_USER_ID" property="creUserId"/>
        <result column="CRE_DEPT_ID" property="creDeptId"/>
        <result column="SUB_FLAG" property="subflag"/>
    </resultMap>
</mapper>

 

    原文作者:MyBatis
    原文地址: https://www.cnblogs.com/lxcmyf/p/5711485.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞