sgj
2025-12-24 cb248506e5944f49fef18c6e973fbd650b45dc03
fzzy-igdss-view/src/main/java/com/fzzy/igds/ReportInDetailPR.java
@@ -76,6 +76,11 @@
        param.setType(Constant.TYPE_IN);
        //多参数分页查询
        com.baomidou.mybatisplus.extension.plugins.pagination.Page<InoutRecord> corePage = new com.baomidou.mybatisplus.extension.plugins.pagination.Page<>(0, 10000);
        //收储公司查询处理
        if(StringUtils.isEmpty(param.getDeptId())){
            param.setDeptId(param.getCompanyId());
        }
        param.setCompanyId(null);
        inoutReportService.listPageInout(corePage, param);
        //获取查询到得list数据
        List<InoutRecord> result = corePage.getRecords();
@@ -90,6 +95,9 @@
        for (InoutRecord record : result) {
            list.add(record);
            record.setRemarks(String.valueOf(index));
            if(StringUtils.isNotBlank(record.getDeptId())){
                record.setCompanyId(record.getDeptId().substring(0,(record.getDeptId().length()-3)));
            }
            emptyWeightSum += record.getEmptyWeight();
            fullWeightSum += record.getFullWeight();
            deOtherSum += record.getDeOther();