<choose> <whentest="isReSend"> and (info.batchId is not null) </when> <otherwise> and (info.batchId = '' or info.batchId is null) </otherwise> </choose>
或者
1 2 3 4 5 6 7 8
<choose> <whentest="isReSend==true"> and (info.batchId is not null) </when> <otherwise> and (info.batchId = '' or info.batchId is null) </otherwise> </choose>