package com.by4cloud.platformx.business.controller; import com.by4cloud.platformx.business.dto.AnalysisCommonDTO; import com.by4cloud.platformx.business.dto.HomeQueryDTO; import com.by4cloud.platformx.business.dto.HomeZbjtDTO; import com.by4cloud.platformx.business.dto.ZBJTStatisticDTO; import com.by4cloud.platformx.business.service.StatisticService; import com.by4cloud.platformx.business.service.ZBJTStatisticService; import com.by4cloud.platformx.common.core.util.R; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; import org.springframework.http.HttpHeaders; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 统计模块 * * @author syt * @date 2026年5月22日 09:41:29 */ @RestController @RequiredArgsConstructor @RequestMapping("/zbjt" ) @Tag(description = "zbjt" , name = "装备集团统计模块" ) @SecurityRequirement(name = HttpHeaders.AUTHORIZATION) public class ZBJTStatisticController { private final ZBJTStatisticService zbjtStatisticService; /** * 主要销售指标完成情况 * @param queryDTO * @return */ @PostMapping("/zyxszbwcqk") public R zyxszbwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.zyxszbwcqk(queryDTO); } /** * 应收账款完成情况 * @param queryDTO * @return */ @PostMapping("/yszkwcqk") public R yszkwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.yszkwcqk(queryDTO); } /** * 各产品板块完成情况 * @param queryDTO * @return */ @PostMapping("/gcpbkwcqk") public R gcpbkwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.gcpbkwcqk(queryDTO); } /** * 市场开发重点工作完成情况 * @param queryDTO * @return */ @PostMapping("/sckfzdgzwcqk") public R sckfzdgzwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.sckfzdgzwcqk(queryDTO); } /** * 三年清欠完成情况 * @param queryDTO * @return */ @PostMapping("/snqqwcqk") public R snqqwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.snqqwcqk(queryDTO); } /** * 配件、大修、出口三项业务完成情况 * @param queryDTO * @return */ @PostMapping("/pjdxcksxywwcqk") public R pjdxcksxywwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.pjdxcksxywwcqk(queryDTO); } /** * 产品新增合同完成情况 * @param queryDTO * @return */ @PostMapping("/cpxzhtwcqk") public R cpxzhtwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.cpxzhtwcqk(queryDTO); } /** * 产品销售收入完成情况 * @param queryDTO * @return */ @PostMapping("/cpxssrwcqk") public R cpxssrwcqk(@RequestBody ZBJTStatisticDTO queryDTO){ return zbjtStatisticService.cpxssrwcqk(queryDTO); } }