首先在mybatis语法中是没有 if else写法得,
不过有他的替代 choose,写法如下:
<choose> <when test="params!=null"> right JOIN </when> <otherwise> LEFT JOIN </otherwise> </choose>
以上即可实现 if else 逻辑
标签2: mybatis 地址:https://www.leftso.com/article/765.html
抖音无水印解析,支持图集和视频
小红书无水印解析支持图片和视频
万能的图片格式转换工具
合规广告欢迎咨询