@DeleteMapping("/clean/{timePoint}")
    @RequiresPermissions("system:role:delete")
    public AdminResult<Boolean> clean(@PathVariable @DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DATETIME) final Date timePoint) {
        return ResultUtil.ok(recordLogService.cleanHistory(timePoint));
    }
@Test
    public void testClean() throws Exception {
        given(this.operationRecordLogService.cleanHistory(any())).willReturn(true);
        this.mockMvc.perform(MockMvcRequestBuilders.delete("/operation-record/log/clean/" + "2020-10-22 10:10:10")
                .contentType(MediaType.APPLICATION_JSON)
                .accept(MediaType.APPLICATION_JSON))
                .andExpect(status().isOk())
                .andReturn();
    }