| | |
| | | } |
| | | |
| | | /** |
| | | * 管理端--单人详情 |
| | | * 单人详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:appPatrolplan:recordSolo')") |
| | | @ApiOperation("管理端--单人详情") |
| | | @ApiOperation("单人详情") |
| | | @PostMapping("recordSolo") |
| | | public Results recordSolo(@RequestBody RecordSoloParam recordSoloParam) throws ParseException { |
| | | return recordService.recordSolo(recordSoloParam); |
| | |
| | | @PreAuthorize("@ss.hasPermi('app:appPatrolplan:executeDetails')") |
| | | @ApiOperation("单兵端--点击日历获取该人员下所有地点打卡记录") |
| | | @PostMapping("executeDetails") |
| | | public Results executeDetails(@RequestBody RecordDetailsParam recordDetailsParam) throws ParseException { |
| | | return recordService.executeDetails(recordDetailsParam); |
| | | public Results executeDetails(@RequestBody RecordDetailsExParam recordDetailsExParam) throws ParseException { |
| | | return recordService.executeDetails(recordDetailsExParam); |
| | | } |
| | | |
| | | /** |
| | | * 单兵端--单人详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:appPatrolplan:executeSolo')") |
| | | @ApiOperation("单兵端--单人详情") |
| | | // @ApiOperation("单兵端--单人详情") |
| | | @PostMapping("executeSolo") |
| | | public Results executeSolo(@RequestBody RecordSoloExParam recordSoloExParam) throws ParseException { |
| | | return recordService.executeSolo(recordSoloExParam); |
| | | } |
| | | |
| | | /** |
| | | * 单兵端--打卡前 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:appPatrolplan:recordBefore')") |
| | | @ApiOperation("单兵端--打卡前") |
| | | @PostMapping("recordBefore") |
| | | public Results recordBefore(@RequestBody RecordBeforeParam recordBeforeParam) throws ParseException { |
| | | return recordService.recordBefore(recordBeforeParam); |
| | | } |
| | | |
| | | /** |
| | | * 单兵端--循环 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:appPatrolplan:son')") |
| | | @ApiOperation("单兵端--循环") |
| | | @GetMapping("son") |
| | | public Results son(){ |
| | | return recordService.son(); |
| | | } |
| | | } |