|
@@ -52,13 +52,14 @@ public class TBDingStatisticController {
|
|
@RequestMapping(value = "/page", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/page", method = RequestMethod.POST)
|
|
@ApiResponses({ @ApiResponse(code = 200, message = "查询成功", response = DingSubmitResult.class) })
|
|
@ApiResponses({ @ApiResponse(code = 200, message = "查询成功", response = DingSubmitResult.class) })
|
|
public Result findDingSubmitPage(@ApiParam(value = "服务单元id", required = true) @RequestParam Long serviceId,
|
|
public Result findDingSubmitPage(@ApiParam(value = "服务单元id", required = true) @RequestParam Long serviceId,
|
|
|
|
+ @ApiParam(value = "人员姓名") @RequestParam(required = false) String personName,
|
|
@ApiParam(value = "统计维度", required = true) @RequestParam DingStatisticTypeEnum type,
|
|
@ApiParam(value = "统计维度", required = true) @RequestParam DingStatisticTypeEnum type,
|
|
@ApiParam(value = "分页页码", required = true) @RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
@ApiParam(value = "分页页码", required = true) @RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
@ApiParam(value = "分页数", required = true) @RequestParam @Min(SystemConstant.PAGE_SIZE_MIN) @Max(SystemConstant.PAGE_SIZE_MAX) Integer pageSize) {
|
|
@ApiParam(value = "分页数", required = true) @RequestParam @Min(SystemConstant.PAGE_SIZE_MIN) @Max(SystemConstant.PAGE_SIZE_MAX) Integer pageSize) {
|
|
switch (type) {
|
|
switch (type) {
|
|
case BY_PERSON:
|
|
case BY_PERSON:
|
|
return ResultUtil.ok(
|
|
return ResultUtil.ok(
|
|
- tbdingStatisticByPersonService.findStatisticByPersonPage(serviceId, pageNumber, pageSize));
|
|
|
|
|
|
+ tbdingStatisticByPersonService.findStatisticByPersonPage(serviceId, personName, pageNumber, pageSize));
|
|
case BY_CRM:
|
|
case BY_CRM:
|
|
return ResultUtil.ok(tbdingStatisticByCrmService.findStatisticByCrmPage(serviceId, pageNumber, pageSize));
|
|
return ResultUtil.ok(tbdingStatisticByCrmService.findStatisticByCrmPage(serviceId, pageNumber, pageSize));
|
|
case BY_SOP:
|
|
case BY_SOP:
|