Browse Source

信访大屏后端1.3

main
parent
commit
c7d184ed6c
  1. 12
      src/main/java/com/biutag/supervision/mapper/DataPetitionComplaintMapper.java

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

@ -24,7 +24,8 @@ public interface DataPetitionComplaintMapper extends BaseMapper<DataPetitionComp
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " +
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " +
"WHERE sd.statistics_group_id=#{departId} and temp.initial_petition=#{Repeat} " +
"GROUP BY temp.second_depart_id")
"GROUP BY temp.second_depart_id" +
"ORDER BY value DESC")
List<CaseVerifDepart> selectDepartStatistic(Integer departId, Integer Repeat, Date beginTime, Date endTime);
/**
@ -39,7 +40,8 @@ public interface DataPetitionComplaintMapper extends BaseMapper<DataPetitionComp
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " +
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " +
"WHERE sd.statistics_group_id=#{departId} and temp.receiving_leader_name is not null " +
"GROUP BY temp.second_depart_id")
"GROUP BY temp.second_depart_id" +
"ORDER BY value DESC")
List<CaseVerifDepart> selectLeaderViewMail(Integer departId, Date beginTime, Date endTime);
@ -56,7 +58,8 @@ public interface DataPetitionComplaintMapper extends BaseMapper<DataPetitionComp
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " +
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " +
"WHERE sd.statistics_group_id=#{id} AND entanglement_visits =#{isEntanglement} " +
"GROUP BY temp.second_depart_id")
"GROUP BY temp.second_depart_id" +
"ORDER BY value DESC")
List<CaseVerifDepart> selectEntanglementMail(Integer id, int isEntanglement, Date beginTime, Date endTime);
@ -65,6 +68,7 @@ public interface DataPetitionComplaintMapper extends BaseMapper<DataPetitionComp
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " +
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " +
"WHERE sd.statistics_group_id=#{id} AND mass_visits =#{isMass} " +
"GROUP BY temp.second_depart_id")
"GROUP BY temp.second_depart_id" +
"ORDER BY value DESC")
List<CaseVerifDepart> selectMassMail(Integer id, int isMass, Date beginTime, Date endTime);
}

Loading…
Cancel
Save