|
|
|
@ -24,7 +24,8 @@ public interface DataPetitionComplaintMapper extends BaseMapper<DataPetitionComp |
|
|
|
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " + |
|
|
|
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"WHERE sd.statistics_group_id=#{departId} and temp.initial_petition=#{Repeat} " + |
|
|
|
"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); |
|
|
|
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 " + |
|
|
|
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"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 " + |
|
|
|
"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); |
|
|
|
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 " + |
|
|
|
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"WHERE sd.statistics_group_id=#{id} AND entanglement_visits =#{isEntanglement} " + |
|
|
|
"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); |
|
|
|
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 " + |
|
|
|
"WHERE dpc.discovery_time BETWEEN #{beginTime} AND #{endTime}) as temp " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"INNER JOIN sup_depart sd on sd.id=temp.second_depart_id " + |
|
|
|
"WHERE sd.statistics_group_id=#{id} AND mass_visits =#{isMass} " + |
|
|
|
"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); |
|
|
|
List<CaseVerifDepart> selectMassMail(Integer id, int isMass, Date beginTime, Date endTime); |
|
|
|
} |
|
|
|
} |
|
|
|
|