diff --git a/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java b/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java index 595824b..2770bf4 100644 --- a/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java +++ b/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java @@ -870,8 +870,7 @@ public interface NegativeMapper extends BaseMapper { "ROUND( COUNT( DISTINCT IF(ng.processing_status='completed', ng.id, NULL) )/COUNT( DISTINCT ng.id )*100, 1) AS correctionRate " + "FROM negative ng " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " + - "WHERE problemSourcesCode IN (15) " + - "AND ng.special_supervision=#{specialType} " + + "WHERE ng.special_supervision=#{specialType} " + "AND ng.second_involve_depart_id=#{departId} " + "AND sd.statistics_group_id=10 " + "AND crtTime BETWEEN #{beginTime} AND #{endTime}; ") @@ -884,8 +883,7 @@ public interface NegativeMapper extends BaseMapper { "ROUND( COUNT( DISTINCT IF(ng.processing_status='completed', ng.id, NULL) )/COUNT( DISTINCT ng.id )*100, 1) AS correctionRate " + "FROM negative ng " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " + - "WHERE problemSourcesCode IN (15) " + - "AND ng.special_supervision=#{specialType} " + + "WHERE ng.special_supervision=#{specialType} " + "AND ng.second_involve_depart_id=#{departId} " + "AND sd.statistics_group_id!=10 " + "AND crtTime BETWEEN #{beginTime} AND #{endTime}; ") @@ -896,8 +894,7 @@ public interface NegativeMapper extends BaseMapper { "COUNT( DISTINCT ng.id ) AS `value` " + "FROM negative ng " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " + - "WHERE problemSourcesCode IN (15) " + - "AND ng.special_supervision=#{specialType} " + + "WHERE ng.special_supervision=#{specialType} " + "AND ng.second_involve_depart_id=#{departId} " + "AND sd.statistics_group_id=10 " + "AND crtTime BETWEEN #{beginTime} AND #{endTime} " + @@ -910,8 +907,7 @@ public interface NegativeMapper extends BaseMapper { "COUNT( DISTINCT ng.id ) AS `value` " + "FROM negative ng " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " + - "WHERE problemSourcesCode IN (15) " + - "AND ng.special_supervision=#{specialType} " + + "WHERE ng.special_supervision=#{specialType} " + "AND ng.second_involve_depart_id=#{departId} " + "AND sd.statistics_group_id!=10 " + "AND crtTime BETWEEN #{beginTime} AND #{endTime} " +