|
|
|
|
@ -216,6 +216,7 @@ public interface RpcApplyMapper extends BaseMapper<RpcApply> {
|
|
|
|
|
"HAVING `name` is NOT NULL ") |
|
|
|
|
List<EchartsVo> getSubOneIncidentOrg(Date beginTime, Date endTime, Integer departId); |
|
|
|
|
|
|
|
|
|
Page<RpcApplyVo> queryRightsPage(@Param("page") Page<RpcApply> page, @Param(Constants.WRAPPER) QueryWrapper<RpcApply> queryWrapper); |
|
|
|
|
Page<RpcApplyVo> queryPage(@Param("page") Page<RpcApply> page, @Param(Constants.WRAPPER) QueryWrapper<RpcApply> queryWrapper); |
|
|
|
|
|
|
|
|
|
@Select("select max(number_index) from rpc_apply where year = #{year}") |
|
|
|
|
@ -244,7 +245,7 @@ public interface RpcApplyMapper extends BaseMapper<RpcApply> {
|
|
|
|
|
* */ |
|
|
|
|
@Select(" select sdp.short_name as label,COUNT(*) as value from rpc_apply ra " + |
|
|
|
|
" LEFT JOIN sup_depart sdp on ra.second_depart_id = sdp.id " + |
|
|
|
|
" WHERE sdp.statistics_group_id = #{departGroupId} and ra.type =1 " + |
|
|
|
|
" WHERE sdp.statistics_group_id = #{departGroupId} and ra.type =1 and ra.verified= '2' " + |
|
|
|
|
" and ra.crt_time BETWEEN #{beginTime} and #{endTime} " + |
|
|
|
|
" GROUP BY sdp.short_name order by value desc ") |
|
|
|
|
List<BarItem> selectProtectRightsBarList(Date beginTime, Date endTime, Integer departGroupId); |
|
|
|
|
@ -257,7 +258,7 @@ public interface RpcApplyMapper extends BaseMapper<RpcApply> {
|
|
|
|
|
@Select(" SELECT sdp.short_name as label, COUNT(*) as value from rpc_apply ra " + |
|
|
|
|
" left join sup_depart sdp on ra.depart_id = sdp.id " + |
|
|
|
|
" where sdp.pid = #{departId} " + |
|
|
|
|
" and ra.type =1 and sdp.statistics_group_id = #{departGroupId} " + |
|
|
|
|
" and ra.type =1 and sdp.statistics_group_id = #{departGroupId} and ra.verified= '2' " + |
|
|
|
|
" and ra.crt_time BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
|
" GROUP BY sdp.short_name order by value desc") |
|
|
|
|
List<BarItem> selectSubPcsProtectRightsBarList(Date beginTime, Date endTime, Integer departId, Integer departGroupId); |
|
|
|
|
@ -269,7 +270,7 @@ public interface RpcApplyMapper extends BaseMapper<RpcApply> {
|
|
|
|
|
" left join sup_depart sdp on ra.depart_id = sdp.id " + |
|
|
|
|
" where sdp.pid = #{departId} " + |
|
|
|
|
" and ra.type =1 and sdp.statistics_group_id != #{departGroupId} " + |
|
|
|
|
" and ra.crt_time BETWEEN #{beginTime} AND #{endTime} " + |
|
|
|
|
" and ra.crt_time BETWEEN #{beginTime} AND #{endTime} and ra.verified= '2' " + |
|
|
|
|
" GROUP BY sdp.short_name order by value desc") |
|
|
|
|
List<BarItem> selectSubDdProtectRightsBarList(Date beginTime, Date endTime, Integer departId, Integer departGroupId); |
|
|
|
|
|
|
|
|
|
|