Browse Source

信访大屏后端1.4

main
parent
commit
a46221a846
  1. 8
      src/main/java/com/biutag/supervision/mapper/DataPetitionComplaintMapper.java

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

@ -24,7 +24,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=#{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);
@ -40,7 +40,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=#{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);
@ -58,7 +58,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 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);
@ -68,7 +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