iBatis遍历入参Map中的List

<select id="getByRfidList" parameterClass="java.util.Map"  resultMap="activityFeeResult" >
    select <include refid="allFields"/> from Activity_Fee
    where  RFID in
    <iterate property="rfidList" open="(" close=")" conjunction=",">
        #rfidList[]#
    </iterate>
    and TYPE=#type# and STATUS=0
</select>

11 thoughts on “iBatis遍历入参Map中的List”

Leave a Reply

电子邮件地址不会被公开。 必填项已用*标注

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

− one = three