<if test="type == '0' ">没有进去这个判断的问题
摘要:
在MyBatis的mapp文件中的if判断中是这样写的 <if test="type == '0' "> and so1.id = #{unitcode} </if>导致出现的问题就是根本没有进去这个if判断中,所以条件 and so1.id = #{unitcode} 也没有加上。导致不执行if判 阅读全文
posted @ 2019-08-27 19:34 沧海_007 阅读(2801) 评论(0) 推荐(0) 编辑