-
along0219 数据小白Lv1
发表于2024-10-28 11:30
楼主
缺省值执行 1=1 ,否则执行col in ('a','b','c')
<#=if(@cs="","1=1" , ' col in (\''+replaceregex(@cs,'\\|','\',\'',true) + '\')' ) #>
<#=if(@cs="","1=1" , ' col in (\''+replaceregex(@cs,'\\|','\',\'',true) + '\')' ) #>