| | |
| | | { |
| | | return AjaxResult.success(smartLockerApplicationService.selectSmartLockerApplicationById(id)); |
| | | } |
| | | /** |
| | | * 作废 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:smartLockerApplication:invalid')") |
| | | @GetMapping(value = "invalid/{id}") |
| | | public AjaxResult invalid(@PathVariable("id") Integer id) |
| | | { |
| | | return toAjax(smartLockerApplicationService.invalid(id)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 新增智能柜物品申领管理 |
| | |
| | | return toAjax(smartLockerApplicationService.insertSmartLockerApplication(smartLockerApplication)); |
| | | } |
| | | |
| | | @GetMapping("query") |
| | | public AjaxResult query(String licensePlateNumber ) |
| | | { |
| | | return AjaxResult.success(smartLockerApplicationService.selectCwByLicensePlateNumber(licensePlateNumber)); |
| | | } |
| | | |
| | | /** |
| | | * 修改智能柜物品申领管理 |
| | | */ |