value
2024-04-13 e569dcc6da8b7be3ce3983664eb4b0b535425531
data-server/src/main/java/com/yuanchu/mom/controller/DataReportingController.java
@@ -77,7 +77,7 @@
        return Result.success(dataReportingService.selectProductCountDtoPageList(page, productCountDto));
    }
    @ApiOperation(value = "获取登记人汇总列表")
    @ApiOperation(value = "获取员工数据统计列表")
    @PostMapping("/selectRegistrantCountDtoPageList")
    public Result selectRegistrantCountDtoPageList(@RequestBody Map<String, Object> data) {
        Page page = JSON.parseObject(JSON.toJSONString(data.get("page")), Page.class);
@@ -211,9 +211,8 @@
                        break;
                }
            }
            list.add(reporting);
            if(reporting.getAccountConsumption().compareTo(BigDecimal.ZERO) > 0) list.add(reporting);
        }
        deleteAllData(format);
        dataReportingService.addDataReporting(list, format, param);
        return Result.success();
    }
@@ -390,6 +389,13 @@
        return Result.success(dataReportingService.selectDataReportingForCreateUserNames(time));
    }
    @ApiOperation(value = "获取项目数据统计的项目筛选项")
    @PostMapping("/selectDataReportingForProduct")
    @ValueAuth
    public Result selectDataReportingForProduct(String time) {
        return Result.success(dataReportingService.selectDataReportingForProduct(time));
    }
    @ApiOperation(value = "获取微信号列表")
    @GetMapping("/selectVxs")
    @ValueAuth
@@ -417,4 +423,11 @@
        financeSubmitService.deleteAllFinance(date);
        return Result.success();
    }
    @ApiOperation(value = "数据上报主管权限")
    @GetMapping("/dataReportingPower")
    public Result dataReportingPower() {
        return Result.success();
    }
}