티스토리 뷰

공부

[Spring] Mybatis `if else` == `choose when otherwise`

seunggabi 승가비 2019. 12. 21. 20:39
728x90
<if test='a != null'>
</if>
<if test='a == null'>
</if


<choose>
  <when test='a != null'>
  </when>
  <otherwise>
  </otherwise>
</choose>

 

[출처] https://kmhan.tistory.com/43

728x90
댓글
댓글쓰기 폼