代码拉取完成,页面将自动刷新
[@and id in idList]
<if test="null!=idList and idList.size>0"> and id in <foreach
collection="idList" index="index" item="item" open="(" separator=","
close=")">#{item}</foreach></if>
[@@and id in idList]
and id in <foreach
collection="idList" index="index" item="item" open="(" separator=","
close=")">#{item}</foreach>
[@and user_name = userName]
<if test="null!=userName and ''!=userName">
and user_name = #{userName}
</if>
[@and user_name like userName%]
<if test="null!=userName and ''!=userName">
and user_name like CONCAT(?,'%')
</if>
[@id column]
-- column
id,code,user_name,mobile_phone,address,create_time
[@and id in #{idList:in} and user_name like #{userName:like}]
<if test="@com.vonchange.mybatis.tpl.MyOgnl@isNotEmpty(idList) and @com.vonchange.mybatis.tpl.MyOgnl@isNotEmpty(userName) ">
and id in
<foreach collection="idList" index="index" item="item" open="(" separator="," close=")">
#{item}</foreach>
and user_name like CONCAT('%',#{userName},'%')
</if>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。