From b28a5002a58d8d0b37082da12e5b218f0951de47 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 04 Dec 2017 16:46:44 +0800
Subject: [PATCH] 更新

---
 src/main/resources/mapper/HistoryMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/HistoryMapper.xml b/src/main/resources/mapper/HistoryMapper.xml
index b5027bc..580a1f2 100644
--- a/src/main/resources/mapper/HistoryMapper.xml
+++ b/src/main/resources/mapper/HistoryMapper.xml
@@ -59,7 +59,7 @@
 			AND h.time &lt; #{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>

--
Gitblit v1.8.0