| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- package com.xintong.visualinspection.controller;
- import java.util.List;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import com.xintong.visualinspection.bean.StatisticsBean;
- import com.xintong.visualinspection.bean.StatisticsBo;
- import com.xintong.visualinspection.service.StatisticsService;
- /**
- * 文件名:StatisticsController
- * 版本信息:日期:2017/3/30 Copyright 江苏省交通规划设计院 Corporation 2017 版权所有.
- */
- @RestController
- @RequestMapping("/statistics")
- public class StatisticsController extends BaseController {
- @Autowired
- private StatisticsService statisticsService;
-
- /**
- * 温馨服务考核情况反馈表(所有员工排名)
- * @return
- * String
- * @exception
- * @since 1.0.0
- */
- @RequestMapping(value = "/employee/order")
- public String getEmployeeOrder(@RequestBody StatisticsBean obj){
- List<StatisticsBo> lists= statisticsService.getEmployeeCheckedInfo(obj);
- return super.returnSuccessResult(lists);
- }
-
- /**
- * 温馨服务检查千分考核扣分情况汇总表
- * @param obj
- * @return
- */
- @RequestMapping(value = "/score/info")
- public String getScoreInfo(@RequestBody StatisticsBean obj){
- List<StatisticsBean> lists= statisticsService.getFeeStationCheckedScore(obj);
- return super.returnSuccessResult(lists);
- }
-
- /**
- * 温馨服务检查情况统计表
- */
- @RequestMapping(value = "/score/item/info")
- public String getScoreItemInfo(@RequestBody StatisticsBean obj){
- List<StatisticsBean> lists= statisticsService.getFeeStationCheckItemScore(obj);
- return super.returnSuccessResult(lists);
- }
-
- /**
- * 12个月考核等分总体
- */
- @RequestMapping(value = "/score/year/info")
- public String selectYearScoreChange(@RequestBody StatisticsBean obj){
- List<StatisticsBean> lists= statisticsService.getYearScoreChange(obj);
- return super.returnSuccessResult(lists);
- }
-
- /**
- * 收费站
- */
- @RequestMapping(value = "/score/tollgate/info")
- public String selectTollgateScoreChange(@RequestBody StatisticsBean obj){
- List<StatisticsBean> lists= statisticsService.getFeeStationScoreInfo(obj);
- return super.returnSuccessResult(lists);
- }
-
- /**
- * 道管中心3
- */
- @RequestMapping(value = "/score/center/manage/info")
- public String selectCentermanageScoreChange(@RequestBody StatisticsBean obj){
- List<StatisticsBean> lists= statisticsService.getCenterManageScoreInfo(obj);
- return super.returnSuccessResult(lists);
- }
-
- /**
- * 道管下收费站
- */
- @RequestMapping(value = "/score/manage/tollgate/info")
- public String selectCentermanageTollgateScoreChange(@RequestBody StatisticsBean obj){
- List<StatisticsBean> lists= statisticsService.getSingleFeeStationScoreInfo(obj);
- return super.returnSuccessResult(lists);
- }
-
-
- /**
- * 考核粘粉情况比
- */
- @RequestMapping(value = "/lost/score/rate")
- public String getCheckedInfoRate(@RequestBody StatisticsBean obj){
- StatisticsBean returnObj= statisticsService.getCheckedScoreInfo(obj);
- return super.returnSuccessResult(returnObj);
- }
-
- }
|