摘要: 1)sql where 条件select id="find" parameterType="User" resultType="User"> select id,name, age,address from user_c where 1=1 and id=#{id} and name li... 阅读全文
posted @ 2015-03-15 21:25 张释文 阅读(506) 评论(0) 推荐(0)
摘要: 1.创建一个工程 utf-82、导入jarmybatis-3.2.2.jar核心包依赖包:asm-3.3.1.jarcglib-2.2.2.jarcommons-logging-1.1.1.jarjavassist-3.17.1-GA.jarlog4j-1.2.17.jarslf4j-api-1.7... 阅读全文
posted @ 2015-03-15 21:06 张释文 阅读(544) 评论(0) 推荐(0)