|
@@ -67,7 +67,8 @@ public class TBDingStatisticController {
|
|
|
return ResultUtil.ok(
|
|
|
tbdingStatisticByCustomService.findStatisticByCustomPage(serviceId, pageNumber, pageSize));
|
|
|
case BY_SUPPLIER:
|
|
|
- return ResultUtil.ok(tbdingStatisticBySupplierService.findStatisticBySupplierPage(serviceId, pageNumber, pageSize));
|
|
|
+ return ResultUtil.ok(
|
|
|
+ tbdingStatisticBySupplierService.findStatisticBySupplierPage(serviceId, pageNumber, pageSize));
|
|
|
}
|
|
|
return ResultUtil.ok();
|
|
|
}
|
|
@@ -76,10 +77,9 @@ public class TBDingStatisticController {
|
|
|
@RequestMapping(value = "/export", method = RequestMethod.POST)
|
|
|
@ApiResponses({ @ApiResponse(code = 200, message = "返回信息", response = Object.class) })
|
|
|
@OperationLog(logType = LogTypeEnum.EXPORT)
|
|
|
- public Result exportDingSubmit(@ApiParam(value = "服务单元id", required = true) @RequestParam Long serviceId,
|
|
|
+ public void exportDingSubmit(@ApiParam(value = "服务单元id", required = true) @RequestParam Long serviceId,
|
|
|
@ApiParam(value = "统计维度", required = true) @RequestParam DingStatisticTypeEnum type) throws IOException {
|
|
|
tbDingStatisticService.exportStatisticData(serviceId, type);
|
|
|
- return ResultUtil.ok();
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "工时统计-统计计算")
|