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 c24dc339f..87c522ed5 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 @@ -71,10 +71,10 @@ LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id AND sc.is_deleted = 0 WHERE si.assess_dept = #{params.deptId} AND si.is_deleted = 0 - AND date_format(si.create_time,'%y%m%d%') >= date_format(#{params.startTime},'%y%m%d%') + AND si.create_time >= #{params.startTime} - AND date_format(si.create_time,'%y%m%d%') <= date_format(#{params.endTime},'%y%m%d%') + AND si.create_time <= #{params.endTime}