From a8a161b8bdedb89da3eff7da0dd6b3499248386b Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Wed, 24 Nov 2021 10:02:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/IcCommunitySelfOrganizationDao.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcCommunitySelfOrganizationDao.xml b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcCommunitySelfOrganizationDao.xml index b893795104..9b7eeca58d 100644 --- a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcCommunitySelfOrganizationDao.xml +++ b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcCommunitySelfOrganizationDao.xml @@ -54,7 +54,6 @@ so.LATITUDE AS latitude, so.ID as orgId FROM ic_community_self_organization so -# LEFT JOIN ic_community_self_organization_personnel op ON (op.ORG_ID = so.ID AND op.DEL_FLAG = 0) WHERE so.DEL_FLAG = 0 AND so.ORG_ID = #{agencyId} AND so.CUSTOMER_ID = #{customerId} @@ -62,10 +61,10 @@ AND so.ORGANIZATION_NAME LIKE CONCAT('%',#{organizationName},'%') - AND DATE_FORMAT(so.ORGANIZATION_CREATED_TIME,'%Y%m%d') = ]]> #{startTime} + AND so.ORGANIZATION_CREATED_TIME = ]]> #{startTime} - AND DATE_FORMAT(so.ORGANIZATION_CREATED_TIME,'%Y%m%d') #{endTime} + AND so.ORGANIZATION_CREATED_TIME #{endTime} ORDER BY so.ORGANIZATION_CREATED_TIME DESC