foreach ----$

<foreach collection="tailList" item="tail" index="index" open=" " close=" " separator=",">
    min(case 
when tail_no=' ${tail.tail_No}' and type=2 then '1' 
when tail_no=' ${tail.tail_No}' and type=3 then '2' 
else 'N/A' end) AS  ${tail.tailNo}

</foreach>

是$  不是#


猜你喜欢

转载自blog.csdn.net/sinat_32759831/article/details/79962564