From acab6490cbf3c0d52c6b8dfed7c478af69352b5e Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Wed, 20 Dec 2017 11:51:43 +0800 Subject: [PATCH] updated --- src/main/resources/mapper/DeviceMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/DeviceMapper.xml b/src/main/resources/mapper/DeviceMapper.xml index 03f9da8..cb82be4 100644 --- a/src/main/resources/mapper/DeviceMapper.xml +++ b/src/main/resources/mapper/DeviceMapper.xml @@ -12,7 +12,7 @@ WHERE d.monitor_point_id = mp.id 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