首页 > 其他 > 详细

mybatis in 查询

时间:2020-03-02 18:28:19      阅读:53      评论:0      收藏:0      [点我收藏+]
    List<Testcl> test(List<String> list);
<select id="test" resultMap="Model"> select * from t_test where n_yx = 1 and c_id in <foreach collection="list" item="id" index="index" open="(" close=")" separator=","> #{id} </foreach> order by d_create </select>

 

mybatis in 查询

原文:https://www.cnblogs.com/jiehanshi/p/12397078.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!