|
|
@ -48,4 +48,12 @@ public class ClockingInController { |
|
|
|
clockingInService.punchTheClock(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "审核打卡", notes = "") |
|
|
|
@RequestMapping(value = "/audit", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse auditRecord(@ApiParam @Validated @RequestBody QueryDto<CClockingInDto.Audit> params) throws Exception{ |
|
|
|
clockingInService.auditRecord(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
} |
|
|
|