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 @@