mybatis 自学笔记

<mapper namespace="com.sf.eip.model.EipMsgRecordModel">
表示关联的java类
<resultMap id="emrm" type="com.sf.eip.model.EipMsgRecordModel">
id属性是标示返回数据类型与这个 type值的类作为返回类型
	
<sql id="authorityData">
<pre name="code" class="html">parameterType
="emrm">引用该SQL时的地址。一般用于常用的能复用的SQL语句<select id="getMsg" parameterType="java.util.Map"
 
 
</pre><pre name="code" class="html">

你可能感兴趣的:(mybatis 自学笔记)