摘要:
<select id="selectListPage" resultType="User"> SELECT id,name,password FROM( SELECT id,name,password,ROWNUM rn FROM t_user <where> <if test="id!=null 阅读全文
摘要:
<insert id="insert"> <selectKey order="BEFORE" keyProperty="id" resultType="int"> SELECT SEQ_ROLE_PERMISSION.NEXTVAL FROM dual </selectKey> INSERT INT 阅读全文
摘要:
<resultMap id="myDept" type="com.stayreal.mybatis.Department"> <id column="did" property="id"/> <result column="dept_name" property="name"/> <!-- coll 阅读全文