xml 代码中明确使用 == true 进行判断
<when test="timeIntervalDto.isGroup == true"></when>
java 代码中必须使用包装类型
private Boolean isGroup
xml 代码中明确使用 == true 进行判断
<when test="timeIntervalDto.isGroup == true"></when>
java 代码中必须使用包装类型
private Boolean isGroup
本文标题:Mybatis xml 中判断条件含布尔值
本文链接:https://www.haomeiwen.com/subject/qkolkctx.html
网友评论