From d2556d901ae6576c4ca2b8a9f6b0c2797d7a6d7b Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Sun, 28 Jan 2024 00:26:01 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/logpm/supervise/mapper/IndicatorsMapper.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml index 23106cfd9..37a6a3cd4 100644 --- a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml +++ b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml @@ -62,7 +62,10 @@ SELECT si.*, sc.NAME AS classifyName - WHERE si.assess_dept = #{params.deptId} + FROM + sup_indicators AS si + LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id + WHERE si.assess_dept = #{params.deptId} AND si.is_deleted = 0 AND sc.is_deleted = 0 AND date_format(si.create_time,'%y%m%d%') >= date_format(#{params.startTime},'%y%m%d%') @@ -73,7 +76,7 @@