| | |
| | | @ApiOperation(value = "流向列表(分页)") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | | @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10") |
| | | @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10"), |
| | | @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "long", required = false, value = "公司id"), |
| | | |
| | | }) |
| | | @GetMapping("/list") |
| | | public CommonResult list(HzProductFlow productFlow){ |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "根据成品id查询危化品所有流向") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "productId", dataType = "long", required = false, value = "产品ID"), |
| | | @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "long", required = false, value = "公司id"), |
| | | }) |
| | | @GetMapping(value = { "/getAllProductFlowByProductId" }) |
| | | public CommonResult getAllProductFlowByProductId(Long productId){ |
| | | return CommonResult.success(productFlowService.getAllProductFlowByProductId(productId)); |
| | | public CommonResult getAllProductFlowByProductId(Long productId,Long companyId){ |
| | | return CommonResult.success(productFlowService.getAllProductFlowByProductId(productId,companyId)); |
| | | } |
| | | |
| | | @RepeatSubmit |