其他分享
首页 > 其他分享> > mybatis头文件

mybatis头文件

作者:互联网

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/scwelcome/p/16469070.html