Commit 5099d8f9 by 张富康

注解修正

1 parent 0276ebdc
......@@ -8,7 +8,10 @@ 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.*;
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 Jinglf
......@@ -29,7 +32,7 @@ public class TalentAnalysisController {
@GetMapping("/getBasicData")
@ApiOperation("获取基础数据")
public RopResponse<ReqRet.TalentAnalysisBasicDataRet> getBasicData(@RequestBody ReqRet.TalentAnalysisBasicDataReq req) throws Exception {
public RopResponse<ReqRet.TalentAnalysisBasicDataRet> getBasicData(ReqRet.TalentAnalysisBasicDataReq req) throws Exception {
logger.info("getBasicData:req={}", req.toString());
ReqRet.TalentAnalysisBasicDataRet ret = talentAnalysisService.getBasicData(req);
return RopResponse.success(ret);
......@@ -39,7 +42,7 @@ public class TalentAnalysisController {
@GetMapping("/getSummaryRetentionAnalysis")
@ApiOperation("汇总留存分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysis(@RequestBody ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
logger.info("getSummaryRetentionAnalysis:req={}", req.toString());
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getSummaryRetentionAnalysis(req);
return RopResponse.success(ret);
......@@ -49,7 +52,7 @@ public class TalentAnalysisController {
@GetMapping("/getSummaryRetentionAnalysisDetail")
@ApiOperation("汇总留存分析详细分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysisDetail(@RequestBody ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
logger.info("getSummaryRetentionAnalysisDetail:req={}", req.toString());
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getSummaryRetentionAnalysisDetail(req);
return RopResponse.success(ret);
......@@ -59,7 +62,7 @@ public class TalentAnalysisController {
@GetMapping("/getCurrentActivePersonnelAnalysis")
@ApiOperation("当前在职人数分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysis(@RequestBody ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
logger.info("getCurrentActivePersonnelAnalysis:req={}", req.toString());
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getCurrentActivePersonnelAnalysis(req);
return RopResponse.success(ret);
......@@ -69,7 +72,7 @@ public class TalentAnalysisController {
@GetMapping("/getCurrentActivePersonnelAnalysisDetail")
@ApiOperation("当前在职人数分析详细分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysisDetail(@RequestBody ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
logger.info("getCurrentActivePersonnelAnalysisDetail:req={}", req.toString());
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getCurrentActivePersonnelAnalysisDetail(req);
return RopResponse.success(ret);
......@@ -79,7 +82,7 @@ public class TalentAnalysisController {
@GetMapping("/getResignEmployeelAnalysis")
@ApiOperation("离职人数分析")
public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysis(@RequestBody ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
logger.info("getResignEmployeelAnalysis:req={}", req.toString());
ReqRet.ResignEmployeelAnalysisRet ret = talentAnalysisService.getResignEmployeelAnalysis(req);
return RopResponse.success(ret);
......@@ -88,7 +91,7 @@ public class TalentAnalysisController {
@GetMapping("/getResignEmployeelAnalysisDetail")
@ApiOperation("离职人数分析详细分析")
public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysisDetail(@RequestBody ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
logger.info("getResignEmployeelAnalysisDetail:req={}", req.toString());
ReqRet.ResignEmployeelAnalysisRet ret = talentAnalysisService.getResignEmployeelAnalysisDetail(req);
return RopResponse.success(ret);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!