`
run_fan
  • 浏览: 20522 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论

ibatis3 动态查询

阅读更多

mapper代码

  <select id="selectRole" parameterType="simpleQuery" resultType="com.cwfan.pojo.TRole"> 
    select ${cols} from ${table} where ${conditions} order by ${cols} 
  </select> 

 参数BEAN及调用方式,参考上一篇文章

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics