| | |
| | | @PostMapping("/export-plan/history-value") |
| | | @Operation(summary = "导出计划数据") |
| | | public void exportPlanHistoryValue(HttpServletResponse response, HttpServletRequest |
| | | request, @RequestBody ApiDataQueryDTO dto) throws IOException { |
| | | //apiSecurityUtils.validate(request); |
| | | request, @RequestBody ApiDataQueryDTO dto) throws Exception { |
| | | apiSecurityUtils.validate(request); |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | |
| | | @PermitAll |
| | | @GetMapping("/query-ind/default-value") |
| | | @Operation(summary = "查询指标默认值") |
| | | public CommonResult<List<ApiIndItemValueDTO>> queryIndItemDefaultValue(@RequestParam String itemNo) { |
| | | TenantContextHolder.setTenantId(161L); |
| | | public CommonResult<List<ApiIndItemValueDTO>> queryIndItemDefaultValue(HttpServletResponse response, HttpServletRequest |
| | | request,@RequestParam String itemNo) throws Exception { |
| | | apiSecurityUtils.validate(request); |
| | | List<IndItemValueVO> list = indItemCollector.queryValue(itemNo); |
| | | List<ApiIndItemValueDTO> dtoList = new ArrayList<>(); |
| | | list.forEach(item -> { |