🐛 xml 条件判断写法错误
All checks were successful
Release / Release (push) Successful in 41s

This commit is contained in:
my_ong 2025-03-09 14:36:40 +08:00
parent 904c01bdbd
commit fa39990202

View File

@ -34,10 +34,11 @@
WHERE 1 = 1
<if test="applyType!= null and applyType!= ''">
<choose>
<when test="applyType == '1'">
<!-- <when test="applyType == '3'"> Mybatis会将 “2” 解析为字符类型-->
<when test='applyType == "1"'>
and f.af_type in ('1', '2')
</when>
<when test="applyType == '3'">
<when test='applyType == "3"'>
and f.af_type in ('3', '5')
</when>
<otherwise>