Mybatis中foreach标签带来的空格 换行 回车问题,不需要替换空格换行编码什么的
报错的写法:
and
(
bdsi.`system` = #{item.docIdentifierSystem}
and bdsi.`value` = #{item.docIdentifierValue}
)
正常执行的写法:
and(bdsi.`system` = #{item.docIdentifierSystem} and bdsi.`value` = #{item.docIdentifierValue})
ok