From dfa0b0046c0781fcbd249f5ff90ce0baeeda5b61 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Tue, 19 May 2020 10:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90pc=E7=AB=AF=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=86=E6=9E=90-=E8=BF=90=E8=90=A5?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=95=B0=E6=8D=AE=E3=80=91-=E3=80=90?= =?UTF-8?q?=E6=96=B0=E9=97=BB=E5=8F=91=E5=B8=83=E6=95=B0sql=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=91-=EF=BC=88=E9=AD=8F=E5=87=AF=EF=BC=89-2020/05?= =?UTF-8?q?/19?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/user/UserAnalysisDao.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/UserAnalysisDao.xml b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/UserAnalysisDao.xml index 23729faf0..20e022e37 100644 --- a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/UserAnalysisDao.xml +++ b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/UserAnalysisDao.xml @@ -515,10 +515,10 @@ LEFT JOIN esua_epdc_news.epdc_news un ON find_in_set(t0.id, un.ALL_DEPT_IDS) AND un.DEL_FLAG = '0' - AND un.CREATED_TIME BETWEEN #{operationStartTime} AND #{operationEndTime} + AND DATE_FORMAT(un.CREATED_TIME,'%Y-%m-%d') BETWEEN #{operationStartTime} AND #{operationEndTime} - and un.CREATED_TIME <=#{endTime} + and DATE_FORMAT(un.CREATED_TIME,'%Y-%m-%d') <=#{endTime} GROUP BY t0.id