| | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得到货通知单") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-arrival-notice:query')") |
| | | public CommonResult<MesWmArrivalNoticeRespVO> getArrivalNotice(@RequestParam("id") Long id) { |
| | | MesWmArrivalNoticeDO notice = arrivalNoticeService.getArrivalNotice(id); |
| | | if (notice == null) { |
| | |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获得到货通知单分页") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-arrival-notice:query')") |
| | | public CommonResult<PageResult<MesWmArrivalNoticeRespVO>> getArrivalNoticePage( |
| | | @Valid MesWmArrivalNoticePageReqVO pageReqVO) { |
| | | PageResult<MesWmArrivalNoticeDO> pageResult = arrivalNoticeService.getArrivalNoticePage(pageReqVO); |