危化品全生命周期管理后端
“djh”
2025-07-29 72fc14d9b157897f2581137d7d463eb72da8f135
hazmat-admin/src/main/java/com/gkhy/hazmat/admin/controller/web/HzProductEntryRecordController.java
@@ -44,11 +44,12 @@
    @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 = "entryId", dataType = "long", required = true, value = "入库id")
            @ApiImplicitParam(paramType = "query", name = "entryId", dataType = "long", required = true, value = "入库id"),
            @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "long", required = false, value = "公司ID")
    })
    @GetMapping("/productlist")
    public CommonResult productlist(Long entryId){
        return CommonResult.success(entryRecordService.selectProductListByEntryId(entryId));
    public CommonResult productlist(Long entryId,Long companyId){
        return CommonResult.success(entryRecordService.selectProductListByEntryId(entryId,companyId));
    }
    @RepeatSubmit