| | |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import jakarta.annotation.Resource; |
| | | import jakarta.validation.Valid; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获取库存事务流水分页") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-transaction:query')") |
| | | public CommonResult<PageResult<MesWmTransactionRespVO>> getTransactionPage(@Valid MesWmTransactionPageReqVO pageReqVO) { |
| | | PageResult<MesWmTransactionDO> pageResult = transactionService.getTransactionPage(pageReqVO); |
| | | if (pageResult.getTotal() == 0) { |
| | |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |