Commit c68a0296 by 张富康

请求参数日志

1 parent 5099d8f9
package com.glsk.controller2; package com.glsk.controller2;
import cn.hutool.json.JSONUtil;
import com.glsk.service.TalentAnalysisService; import com.glsk.service.TalentAnalysisService;
import com.glsk.vo.ReqRet; import com.glsk.vo.ReqRet;
import com.glsk.vo.RopResponse; import com.glsk.vo.RopResponse;
...@@ -33,7 +34,7 @@ public class TalentAnalysisController { ...@@ -33,7 +34,7 @@ public class TalentAnalysisController {
@GetMapping("/getBasicData") @GetMapping("/getBasicData")
@ApiOperation("获取基础数据") @ApiOperation("获取基础数据")
public RopResponse<ReqRet.TalentAnalysisBasicDataRet> getBasicData(ReqRet.TalentAnalysisBasicDataReq req) throws Exception { public RopResponse<ReqRet.TalentAnalysisBasicDataRet> getBasicData(ReqRet.TalentAnalysisBasicDataReq req) throws Exception {
logger.info("getBasicData:req={}", req.toString()); logger.info("获取基础数据-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.TalentAnalysisBasicDataRet ret = talentAnalysisService.getBasicData(req); ReqRet.TalentAnalysisBasicDataRet ret = talentAnalysisService.getBasicData(req);
return RopResponse.success(ret); return RopResponse.success(ret);
...@@ -43,7 +44,7 @@ public class TalentAnalysisController { ...@@ -43,7 +44,7 @@ public class TalentAnalysisController {
@GetMapping("/getSummaryRetentionAnalysis") @GetMapping("/getSummaryRetentionAnalysis")
@ApiOperation("汇总留存分析") @ApiOperation("汇总留存分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception { public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
logger.info("getSummaryRetentionAnalysis:req={}", req.toString()); logger.info("汇总留存分析-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getSummaryRetentionAnalysis(req); ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getSummaryRetentionAnalysis(req);
return RopResponse.success(ret); return RopResponse.success(ret);
...@@ -53,7 +54,7 @@ public class TalentAnalysisController { ...@@ -53,7 +54,7 @@ public class TalentAnalysisController {
@GetMapping("/getSummaryRetentionAnalysisDetail") @GetMapping("/getSummaryRetentionAnalysisDetail")
@ApiOperation("汇总留存分析详细分析") @ApiOperation("汇总留存分析详细分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception { public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getSummaryRetentionAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
logger.info("getSummaryRetentionAnalysisDetail:req={}", req.toString()); logger.info("汇总留存分析详细分析-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getSummaryRetentionAnalysisDetail(req); ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getSummaryRetentionAnalysisDetail(req);
return RopResponse.success(ret); return RopResponse.success(ret);
...@@ -63,7 +64,7 @@ public class TalentAnalysisController { ...@@ -63,7 +64,7 @@ public class TalentAnalysisController {
@GetMapping("/getCurrentActivePersonnelAnalysis") @GetMapping("/getCurrentActivePersonnelAnalysis")
@ApiOperation("当前在职人数分析") @ApiOperation("当前在职人数分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception { public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
logger.info("getCurrentActivePersonnelAnalysis:req={}", req.toString()); logger.info("当前在职人数分析-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getCurrentActivePersonnelAnalysis(req); ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getCurrentActivePersonnelAnalysis(req);
return RopResponse.success(ret); return RopResponse.success(ret);
...@@ -73,7 +74,7 @@ public class TalentAnalysisController { ...@@ -73,7 +74,7 @@ public class TalentAnalysisController {
@GetMapping("/getCurrentActivePersonnelAnalysisDetail") @GetMapping("/getCurrentActivePersonnelAnalysisDetail")
@ApiOperation("当前在职人数分析详细分析") @ApiOperation("当前在职人数分析详细分析")
public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception { public RopResponse<ReqRet.SummaryRetentionAnalysisRet> getCurrentActivePersonnelAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
logger.info("getCurrentActivePersonnelAnalysisDetail:req={}", req.toString()); logger.info("当前在职人数分析详细分析-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getCurrentActivePersonnelAnalysisDetail(req); ReqRet.SummaryRetentionAnalysisRet ret = talentAnalysisService.getCurrentActivePersonnelAnalysisDetail(req);
return RopResponse.success(ret); return RopResponse.success(ret);
...@@ -83,7 +84,7 @@ public class TalentAnalysisController { ...@@ -83,7 +84,7 @@ public class TalentAnalysisController {
@GetMapping("/getResignEmployeelAnalysis") @GetMapping("/getResignEmployeelAnalysis")
@ApiOperation("离职人数分析") @ApiOperation("离职人数分析")
public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception { public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysis(ReqRet.SummaryRetentionAnalysisReq req) throws Exception {
logger.info("getResignEmployeelAnalysis:req={}", req.toString()); logger.info("离职人数分析-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.ResignEmployeelAnalysisRet ret = talentAnalysisService.getResignEmployeelAnalysis(req); ReqRet.ResignEmployeelAnalysisRet ret = talentAnalysisService.getResignEmployeelAnalysis(req);
return RopResponse.success(ret); return RopResponse.success(ret);
...@@ -92,7 +93,7 @@ public class TalentAnalysisController { ...@@ -92,7 +93,7 @@ public class TalentAnalysisController {
@GetMapping("/getResignEmployeelAnalysisDetail") @GetMapping("/getResignEmployeelAnalysisDetail")
@ApiOperation("离职人数分析详细分析") @ApiOperation("离职人数分析详细分析")
public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception { public RopResponse<ReqRet.ResignEmployeelAnalysisRet> getResignEmployeelAnalysisDetail(ReqRet.SummaryRetentionAnalysisDetailReq req) throws Exception {
logger.info("getResignEmployeelAnalysisDetail:req={}", req.toString()); logger.info("离职人数分析详细分析-请求参数:{}", JSONUtil.toJsonStr(req));
ReqRet.ResignEmployeelAnalysisRet ret = talentAnalysisService.getResignEmployeelAnalysisDetail(req); ReqRet.ResignEmployeelAnalysisRet ret = talentAnalysisService.getResignEmployeelAnalysisDetail(req);
return RopResponse.success(ret); 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!