有没有人知道Mybatis解析带标签的sql的接口????急急急在线等!!!!!!出入的sql带《where》《if》标签它解析不了,有没有大神知道的????帮帮忙
你可以照着自己的表修改
select * from user <where> <if test="id != null ">id=#{id}</if> <if test="name != null " >and name=#{name}</if> </where>
一系列mybatis解析带标签的sql的接口和类都在这里