| | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得销售出库明细") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-product-sales:query')") |
| | | public CommonResult<MesWmProductSalesDetailRespVO> getProductSalesDetail(@RequestParam("id") Long id) { |
| | | MesWmProductSalesDetailDO detail = productSalesDetailService.getProductSalesDetail(id); |
| | | if (detail == null) { |
| | |
| | | @GetMapping("/list-by-line") |
| | | @Operation(summary = "获得销售出库明细列表(按行编号)") |
| | | @Parameter(name = "lineId", description = "行编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-product-sales:query')") |
| | | public CommonResult<List<MesWmProductSalesDetailRespVO>> getProductSalesDetailListByLineId( |
| | | @RequestParam("lineId") Long lineId) { |
| | | List<MesWmProductSalesDetailDO> list = productSalesDetailService.getProductSalesDetailListByLineId(lineId); |