|
|
|
@ -639,11 +639,12 @@ public interface NegativeMapper extends BaseMapper<Negative> { |
|
|
|
@Select("SELECT sd.short_name AS label, " + |
|
|
|
@Select("SELECT sd.short_name AS label, " + |
|
|
|
"count(*) as `value` " + |
|
|
|
"count(*) as `value` " + |
|
|
|
" FROM negative ng " + |
|
|
|
" FROM negative ng " + |
|
|
|
"INNER JOIN sup_depart sd ON ng.involveDepartId=sd.id " + |
|
|
|
"INNER JOIN sup_depart sd ON ng.three_involve_depart_id=sd.id " + |
|
|
|
"AND sd.pid=#{departId} AND sd.statistics_group_id=10 " + |
|
|
|
"AND ng.second_involve_depart_id=#{departId} AND sd.statistics_group_id=10 " + |
|
|
|
"WHERE checkStatus <> 3 " + |
|
|
|
"WHERE checkStatus <> 3 " + |
|
|
|
"AND problemSourcesCode=16 " + |
|
|
|
"AND problemSourcesCode=16 " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
|
|
|
|
"and ng.three_involve_depart_id is not null " + |
|
|
|
"GROUP BY sd.short_name " + |
|
|
|
"GROUP BY sd.short_name " + |
|
|
|
"ORDER BY `value` DESC ") |
|
|
|
"ORDER BY `value` DESC ") |
|
|
|
List<OrganizeProblemRankVo> getSuboOneVideoSupervisePoliceProblemRank(Date beginTime, Date endTime, Integer groupId, Integer departId); |
|
|
|
List<OrganizeProblemRankVo> getSuboOneVideoSupervisePoliceProblemRank(Date beginTime, Date endTime, Integer groupId, Integer departId); |
|
|
|
@ -651,11 +652,12 @@ public interface NegativeMapper extends BaseMapper<Negative> { |
|
|
|
@Select("SELECT sd.short_name AS label, " + |
|
|
|
@Select("SELECT sd.short_name AS label, " + |
|
|
|
"count(*) as `value` " + |
|
|
|
"count(*) as `value` " + |
|
|
|
" FROM negative ng " + |
|
|
|
" FROM negative ng " + |
|
|
|
"INNER JOIN sup_depart sd ON ng.involveDepartId=sd.id " + |
|
|
|
"INNER JOIN sup_depart sd ON ng.three_involve_depart_id=sd.id " + |
|
|
|
"AND sd.pid=#{departId} AND sd.statistics_group_id!=10 " + |
|
|
|
"AND ng.second_involve_depart_id=#{departId} AND sd.statistics_group_id!=10 " + |
|
|
|
"WHERE checkStatus <> 3 " + |
|
|
|
"WHERE checkStatus <> 3 " + |
|
|
|
"AND problemSourcesCode=16 " + |
|
|
|
"AND problemSourcesCode=16 " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
"AND crtTime BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
|
|
|
|
"and ng.three_involve_depart_id is not null " + |
|
|
|
"GROUP BY sd.short_name " + |
|
|
|
"GROUP BY sd.short_name " + |
|
|
|
"ORDER BY `value` DESC ") |
|
|
|
"ORDER BY `value` DESC ") |
|
|
|
List<OrganizeProblemRankVo> getSuboOneVideoSuperviseTeamProblemRank(Date beginTime, Date endTime, Integer groupId, Integer departId); |
|
|
|
List<OrganizeProblemRankVo> getSuboOneVideoSuperviseTeamProblemRank(Date beginTime, Date endTime, Integer groupId, Integer departId); |
|
|
|
|