| | |
| | | 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); |
| | |
| | | break; |
| | | } |
| | | } |
| | | list.add(reporting); |
| | | if(reporting.getAccountConsumption().compareTo(BigDecimal.ZERO) > 0) list.add(reporting); |
| | | } |
| | | deleteAllData(format); |
| | | dataReportingService.addDataReporting(list, format, param); |
| | | return Result.success(); |
| | | } |
| | |
| | | } catch (ParseException e) { |
| | | throw new ErrorException("文件中日期在转换时出现错误"); |
| | | } |
| | | deleteAllFans(LocalDate.parse(format).plusDays(1).format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); |
| | | for (int i = 6; i < rows.size(); i++) { |
| | | FansSubmit fansSubmit = new FansSubmit(); |
| | | for (int i1 = 0; i1 < rows.get(5).size(); i1++) { |
| | |
| | | } catch (ParseException e) { |
| | | throw new ErrorException("文件中日期在转换时出现错误"); |
| | | } |
| | | deleteAllFinance(LocalDate.parse(format).plusDays(1).format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); |
| | | for (int i = 6; i < rows.size(); i++) { |
| | | FinanceSubmit financeSubmit = new FinanceSubmit(); |
| | | for (int i1 = 0; i1 < rows.get(5).size(); i1++) { |
| | |
| | | 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 |
| | |
| | | financeSubmitService.deleteAllFinance(date); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "数据上报主管权限") |
| | | @GetMapping("/dataReportingPower") |
| | | public Result dataReportingPower() { |
| | | return Result.success(); |
| | | } |
| | | |
| | | } |