| | |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | IPage<OaApprovalApplicationAssetPageVO> page = oaApprovalApplicationAssetService.getReturnNotifyPageList(pageQuery); |
| | | return R.ok(page); |
| | | } |
| | | @ApiOperation("删除/领用/借用/归还申请") |
| | | @DeleteMapping("/{id}") |
| | | public R<?> delete(@ApiParam(name = "id",value = "审批记录ID",required = true) @PathVariable Integer id){ |
| | | oaApprovalApplicationAssetService.deleteByApplicationId(id); |
| | | return R.ok(); |
| | | } |
| | | } |