xufenglei
2017-12-04 b28a5002a58d8d0b37082da12e5b218f0951de47
src/main/resources/mapper/HistoryMapper.xml
@@ -59,7 +59,7 @@
         AND h.time < #{end}
      <if test="orgIds != null and orgIds.size &gt; 0">
         AND mp.organization_id IN
         <foreach close=")" collection="orgIds" item="listItem" open="(" separator=",">
         <foreach  collection="orgIds" open="(" separator="," close=")" item="listItem" >
            #{listItem}
         </foreach>
      </if>