| | |
| | | int num=0; |
| | | if(ids!=null&&ids.size()>0) |
| | | { |
| | | num=iGuideRepairOrderService.countStatisticsNum(null,ids,null,null,null,null,null,null); |
| | | num=homeStatisticsService.rangeStatistics(ids); |
| | | } |
| | | range.setNum(num+""); |
| | | rangeStatistics.add(range); |
| | |
| | | Assert.notNull(pageNum, "pageNum 不能为空"); |
| | | Assert.notNull(pageSize, "pageSize 不能为空"); |
| | | Page<TransactionEvent> pageParam = new Page<>(pageNum,pageSize); |
| | | List<String> ids=iOrganizationChartService.getIds(sysUser.getDepartmentId()); |
| | | // List<String> ids=iOrganizationChartService.getIds(sysUser.getDepartmentId()); |
| | | List<TransactionEvent> list = iTransactionEventService.selectConfigList(pageParam,pageSize,keyword, |
| | | classifyGrade,ids); |
| | | int num=iTransactionEventService.countNum(keyword,classifyGrade,ids); |
| | | classifyGrade,null); |
| | | int num=iTransactionEventService.countNum(keyword,classifyGrade,null); |
| | | return getDataTable(list,num); |
| | | } |
| | | |
| | |
| | | List<String> countId(String district); |
| | | |
| | | |
| | | int rangeStatistics(List<String> ids); |
| | | |
| | | |
| | | /** |
| | | * 首页统计用 |
| | | * @return |
| | |
| | | */ |
| | | int reversionRate(String state,String isTimeout); |
| | | |
| | | |
| | | int rangeStatistics(List<String> ids); |
| | | |
| | | } |
| | |
| | | return baseMapper.reversionRate(state,isTimeout); |
| | | } |
| | | |
| | | @Override |
| | | public int rangeStatistics(List<String> ids) { |
| | | return baseMapper.rangeStatistics(ids); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | |
| | | |
| | | <!-- 首页统计 区域统计 勿动 --> |
| | | <select id="rangeStatistics" parameterType="string" resultType="integer"> |
| | | select count(id) from automessage_guide_repair_order |
| | | <where> |
| | | <if test="ids != null"> |
| | | and guide_department_id IN |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |
| | | #{param} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | |
| | | </mapper> |