StaffController.java
4.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
//package com.glsk.controller;
//
//import com.glsk.service.BusinessAnalysisService;
//import com.glsk.vo.BusinessType;
//import com.glsk.vo.QueryType;
//import com.glsk.vo.ReqRet;
//import com.glsk.vo.RopResponse;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.CrossOrigin;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
///**
// * @author fangfang
// * @create 2023-07-02 10:46
// */
//
//@CrossOrigin(origins = "*")
//@RestController
//@RequestMapping("/staff")
//@Api(value = "经营分析--员工", tags = {"经营分析--员工"})
//public class StaffController {
// protected final Logger logger = LoggerFactory.getLogger(getClass());
//
// @Autowired
// private BusinessAnalysisService businessAnalysisService;
//
//
// @GetMapping("/getStaffList")
// @ApiOperation("获取员工列表")
// public RopResponse<ReqRet.StaffListRet> getStaffList(String merchantid,BusinessType business_type,String staffid,String staffname) {
// logger.info("getStaffList:req=" );
//
// ReqRet.StaffListRet ret = businessAnalysisService.getStaffList(merchantid,business_type,staffid,staffname);
// return RopResponse.success(ret);
//
// }
//
// @GetMapping("/getStaffMerchantList")
// @ApiOperation("获取员工所在门店列表")
// public RopResponse<ReqRet.MerchantListRet> getStaffMerchantList(String merchantid,BusinessType business_type,String staffid) {
// logger.info("getMerchantList:req=" );
//
// ReqRet.MerchantListRet ret = businessAnalysisService.getStaffMerchantList(merchantid,business_type,staffid);
// return RopResponse.success(ret);
//
// }
//
//
//
// @GetMapping("/queryPerformanceFinishStatus")
// @ApiOperation("当前周期绩效完成情况")
// public RopResponse<ReqRet.PerformanceFinishStatusRet> queryPerformanceFinishStatus(String merchantid,String staffid,BusinessType business_type,
// QueryType queryType , String startDay,String endDay) {
// logger.info("queryPerformanceFinishStatus:req=" );
//
// ReqRet.PerformanceFinishStatusRet ret = businessAnalysisService.queryPerformanceFinishStatus(merchantid,staffid, business_type,queryType,startDay,endDay);
// return RopResponse.success(ret);
//
// }
//
// @GetMapping("/queryStaffOverview")
// @ApiOperation("员工总览信息")
// public RopResponse<ReqRet.StaffOverviewRet> queryStaffOverview(String merchantid, String staffid, BusinessType business_type,
// QueryType queryType , String startDay, String endDay) {
// logger.info("queryStaffOverview:req=" );
//
// ReqRet.StaffOverviewRet ret = businessAnalysisService.queryStaffOverview(merchantid,staffid, business_type,queryType,startDay,endDay);
// return RopResponse.success(ret);
//
// }
//
//
// @GetMapping("/queryStaffOutputTrend")
// @ApiOperation("查询员工产值趋势")
// public RopResponse<ReqRet.OutputTrendRet> queryStaffOutputTrend(String merchantid,String staffid, BusinessType business_type,
// QueryType queryType , String startDay,String endDay) {
// logger.info("queryStaffOutputTrend:req=" );
// ReqRet.OutputTrendRet ret = businessAnalysisService.queryStaffOutputTrend(merchantid,staffid,business_type,queryType,startDay,endDay);
// return RopResponse.success(ret);
//
// }
//
//
//
//
// @GetMapping("/getStaffWeekList")
// @ApiOperation("获取员工周列表")
// public RopResponse<ReqRet.WeekListRet> getStaffWeekList(BusinessType business_type, String merchantid, String staffid) {
// logger.info("getStaffWeekList:req=" );
//
// ReqRet.WeekListRet ret = businessAnalysisService.getStaffWeekList(business_type,merchantid,staffid);
// return RopResponse.success(ret);
//
// }
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//}