Browse Source

fix-现场专项二级大屏--黄毒警情一列tab数据不对

master
buaixuexideshitongxue 2 weeks ago
parent
commit
48d9f77e2e
  1. 12
      src/main/java/com/biutag/supervision/mapper/NegativeMapper.java

12
src/main/java/com/biutag/supervision/mapper/NegativeMapper.java

@ -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 " + "ROUND( COUNT( DISTINCT IF(ng.processing_status='completed', ng.id, NULL) )/COUNT( DISTINCT ng.id )*100, 1) AS correctionRate " +
"FROM negative ng " + "FROM negative ng " +
"LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " +
"WHERE problemSourcesCode IN (15) " + "WHERE ng.special_supervision=#{specialType} " +
"AND ng.special_supervision=#{specialType} " +
"AND ng.second_involve_depart_id=#{departId} " + "AND ng.second_involve_depart_id=#{departId} " +
"AND sd.statistics_group_id=10 " + "AND sd.statistics_group_id=10 " +
"AND crtTime BETWEEN #{beginTime} AND #{endTime}; ") "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 " + "ROUND( COUNT( DISTINCT IF(ng.processing_status='completed', ng.id, NULL) )/COUNT( DISTINCT ng.id )*100, 1) AS correctionRate " +
"FROM negative ng " + "FROM negative ng " +
"LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " +
"WHERE problemSourcesCode IN (15) " + "WHERE ng.special_supervision=#{specialType} " +
"AND ng.special_supervision=#{specialType} " +
"AND ng.second_involve_depart_id=#{departId} " + "AND ng.second_involve_depart_id=#{departId} " +
"AND sd.statistics_group_id!=10 " + "AND sd.statistics_group_id!=10 " +
"AND crtTime BETWEEN #{beginTime} AND #{endTime}; ") "AND crtTime BETWEEN #{beginTime} AND #{endTime}; ")
@ -896,8 +894,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.involveDepartId=sd.id " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " +
"WHERE problemSourcesCode IN (15) " + "WHERE ng.special_supervision=#{specialType} " +
"AND ng.special_supervision=#{specialType} " +
"AND ng.second_involve_depart_id=#{departId} " + "AND ng.second_involve_depart_id=#{departId} " +
"AND sd.statistics_group_id=10 " + "AND sd.statistics_group_id=10 " +
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + "AND crtTime BETWEEN #{beginTime} AND #{endTime} " +
@ -910,8 +907,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.involveDepartId=sd.id " + "LEFT JOIN sup_depart sd ON ng.involveDepartId=sd.id " +
"WHERE problemSourcesCode IN (15) " + "WHERE ng.special_supervision=#{specialType} " +
"AND ng.special_supervision=#{specialType} " +
"AND ng.second_involve_depart_id=#{departId} " + "AND ng.second_involve_depart_id=#{departId} " +
"AND sd.statistics_group_id!=10 " + "AND sd.statistics_group_id!=10 " +
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + "AND crtTime BETWEEN #{beginTime} AND #{endTime} " +

Loading…
Cancel
Save