src/main/resources/mapper/HistoryMapper.xml
@@ -59,7 +59,7 @@ AND h.time < #{end} <if test="orgIds != null and orgIds.size > 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>