|
|
|
@ -328,8 +328,7 @@ public interface NegativeMapper extends BaseMapper<Negative> { |
|
|
|
"IFNULL( ROUND( COUNT( DISTINCT IF(ng.processing_status='completed', ng.id, NULL) )/COUNT( DISTINCT ng.id )*100, 1), 0) AS completedRate " + |
|
|
|
"IFNULL( ROUND( COUNT( DISTINCT IF(ng.processing_status='completed', ng.id, NULL) )/COUNT( DISTINCT ng.id )*100, 1), 0) AS completedRate " + |
|
|
|
"FROM negative ng " + |
|
|
|
"FROM negative ng " + |
|
|
|
"LEFT JOIN sup_depart sd ON ng.second_involve_depart_id=sd.id " + |
|
|
|
"LEFT JOIN sup_depart sd ON ng.second_involve_depart_id=sd.id " + |
|
|
|
"WHERE problemSourcesCode IN (15) " + |
|
|
|
"WHERE ng.special_supervision=#{queryType} " + |
|
|
|
"AND ng.special_supervision=#{queryType} " + |
|
|
|
|
|
|
|
"AND sd.statistics_group_id=#{groupId} " + |
|
|
|
"AND sd.statistics_group_id=#{groupId} " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime}; ") |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime}; ") |
|
|
|
DayTimeSuperviseVo getYellowBetOverview(Date beginTime, Date endTime, Integer groupId, String queryType); |
|
|
|
DayTimeSuperviseVo getYellowBetOverview(Date beginTime, Date endTime, Integer groupId, String queryType); |
|
|
|
@ -339,8 +338,7 @@ public interface NegativeMapper extends BaseMapper<Negative> { |
|
|
|
"COUNT( DISTINCT ng.id ) AS `value` " + |
|
|
|
"COUNT( DISTINCT ng.id ) AS `value` " + |
|
|
|
"FROM negative ng " + |
|
|
|
"FROM negative ng " + |
|
|
|
"LEFT JOIN sup_depart sd ON ng.second_involve_depart_id=sd.id " + |
|
|
|
"LEFT JOIN sup_depart sd ON ng.second_involve_depart_id=sd.id " + |
|
|
|
"WHERE problemSourcesCode IN (15) " + |
|
|
|
"WHERE ng.special_supervision=#{queryType} " + |
|
|
|
"AND ng.special_supervision=#{queryType} " + |
|
|
|
|
|
|
|
"AND sd.statistics_group_id=#{groupId} " + |
|
|
|
"AND sd.statistics_group_id=#{groupId} " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
"GROUP BY sd.short_name " + |
|
|
|
"GROUP BY sd.short_name " + |
|
|
|
|