| | |
| | | @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); |
| | |
| | | .remark("").build() |
| | | ); |
| | | // 输出 |
| | | ExcelUtils.write(response, "到货通知单导入模板.xls", "到货通知单列表", MesWmArrivalNoticeImportExcelVO.class, list); |
| | | ExcelUtils.writeTemplate(response, "到货通知单导入模板.xls", "到货通知单列表", MesWmArrivalNoticeImportExcelVO.class, list); |
| | | } |
| | | |
| | | @PostMapping("/import") |