<dal:if test='state != null and state != "" and state != "*"'> and STATE in ( <dal:foreach collection="state.split(',')" item="item" separator=","> #{item} </dal:foreach> ) </dal:if>
前端传字符串state='1,2,3,4,5'
<dal:if test='state != null and state != "" and state != "*"'> and STATE in ( <dal:foreach collection="state.split(',')" item="item" separator=","> #{item} </dal:foreach> ) </dal:if>
前端传字符串state='1,2,3,4,5'