|
|
|
|
@ -870,8 +870,7 @@ public interface NegativeMapper extends BaseMapper<Negative> {
|
|
|
|
|
"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<Negative> {
|
|
|
|
|
"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<Negative> {
|
|
|
|
|
"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<Negative> {
|
|
|
|
|
"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} " + |
|
|
|
|
|