|
|
@ -60,8 +60,8 @@ public class ClockingInController { |
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "导出考勤excel", notes = "") |
|
|
|
@RequestMapping(value = "/export", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse export(@ApiParam @Validated @RequestBody QueryDto<CClockingInDto.QueryClockingIn> params) throws Exception{ |
|
|
|
clockingInService.exportRecord(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
public JsonResponse<CClockingInVo.ExcelUrl> export(@ApiParam @Validated @RequestBody QueryDto<CClockingInDto.QueryClockingIn> params) throws Exception{ |
|
|
|
CClockingInVo.ExcelUrl excelUrl = clockingInService.exportRecord(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(excelUrl); |
|
|
|
} |
|
|
|
} |
|
|
|