|
|
@@ -0,0 +1,445 @@
|
|
|
+package com.jzg.console.controller;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.jzg.commons.core.base.BaseController;
|
|
|
+import com.jzg.commons.core.page.HttpResult;
|
|
|
+import com.jzg.commons.entity.report.dto.ReportSearchConfigurationDto;
|
|
|
+import com.jzg.commons.entity.report.vo.ReportSearchCommonVo;
|
|
|
+import com.jzg.console.service.*;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:56
|
|
|
+ * @Description: 业务数据管理
|
|
|
+ */
|
|
|
+@Slf4j
|
|
|
+@Tag(name="业务数据管理")
|
|
|
+@RestController
|
|
|
+@RequestMapping("/console/businessDataManage")
|
|
|
+public class ReportBusinessDataManageController extends BaseController {
|
|
|
+
|
|
|
+ //业务数据-保险公司
|
|
|
+ @Autowired
|
|
|
+ private ReportCompanyDataManageService reportCompanyDataManageService;
|
|
|
+
|
|
|
+ //业务数据-险种报表
|
|
|
+ @Autowired
|
|
|
+ private ReportRiskDataManageService reportRiskDataManageService;
|
|
|
+
|
|
|
+ //业务数据-对接人
|
|
|
+ @Autowired
|
|
|
+ private ReportContactPersonDataManageService reportContactPersonDataManageService;
|
|
|
+
|
|
|
+ //业务数据-业务员
|
|
|
+ @Autowired
|
|
|
+ private ReportSalesmanDataManageService reportSalesmanDataManageService;
|
|
|
+
|
|
|
+ //业务数据-渠道
|
|
|
+ @Autowired
|
|
|
+ private ReportChannelDataManageService reportChannelDataManageService;
|
|
|
+
|
|
|
+ //业务数据-电销
|
|
|
+ @Autowired
|
|
|
+ private ReportTelemarketingDataManageService reportTelemarketingDataManageService;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:08
|
|
|
+ * @Description: 业务数据-保险公司-列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-保险公司-列表查询", description = "业务数据-保险公司-列表查询")
|
|
|
+ @PostMapping(value = "/companyDataManagePageList")
|
|
|
+ public HttpResult<?> companyDataManagePageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportCompanyDataManageService.getPageListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:09
|
|
|
+ * @Description: 业务数据-保险公司-列表导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-保险公司-列表导出", description = "业务数据-保险公司-列表导出")
|
|
|
+ @PostMapping(value = "/companyDataManageToTask")
|
|
|
+ public HttpResult<?> companyDataManageToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportCompanyDataManageService.downloadListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-保险公司-列表导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-保险公司-明细查询
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-保险公司-明细查询", description = "业务数据-保险公司-明细查询")
|
|
|
+ @PostMapping(value = "/companyDataManageDetailPageList")
|
|
|
+ public HttpResult<?> companyDataManageDetailPageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportCompanyDataManageService.getPageDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-保险公司-明细导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-保险公司-明细导出", description = "业务数据-保险公司-明细导出")
|
|
|
+ @PostMapping(value = "/companyDataManageDetailToTask")
|
|
|
+ public HttpResult<?> companyDataManageDetailToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportCompanyDataManageService.downloadDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-保险公司-明细导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:08
|
|
|
+ * @Description: 业务数据-险种报表-列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-险种报表-列表查询", description = "业务数据-险种报表-列表查询")
|
|
|
+ @PostMapping(value = "/riskDataManagePageList")
|
|
|
+ public HttpResult<?> riskDataManagePageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportRiskDataManageService.getPageListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:09
|
|
|
+ * @Description: 业务数据-险种报表-列表导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-险种报表-列表导出", description = "业务数据-险种报表-列表导出")
|
|
|
+ @PostMapping(value = "/riskDataManageToTask")
|
|
|
+ public HttpResult<?> riskDataManageToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportRiskDataManageService.downloadListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-险种报表-列表导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-保险公司-明细查询
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-险种报表-明细查询", description = "业务数据-险种报表-明细查询")
|
|
|
+ @PostMapping(value = "/riskDataManageDetailPageList")
|
|
|
+ public HttpResult<?> riskDataManageDetailPageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportRiskDataManageService.getPageDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-保险公司-明细导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-险种报表-明细导出", description = "业务数据-险种报表-明细导出")
|
|
|
+ @PostMapping(value = "/riskDataManageDetailToPage")
|
|
|
+ public HttpResult<?> riskDataManageDetailToPage(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportRiskDataManageService.downloadDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-险种报表-明细导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:08
|
|
|
+ * @Description: 业务数据-对接人-列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-对接人-列表查询", description = "业务数据-对接人-列表查询")
|
|
|
+ @PostMapping(value = "/contactPersonDataManagePageList")
|
|
|
+ public HttpResult<?> contactPersonDataManagePageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportContactPersonDataManageService.getPageListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:09
|
|
|
+ * @Description: 业务数据-对接人-列表导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-对接人-列表导出", description = "业务数据-对接人-列表导出")
|
|
|
+ @PostMapping(value = "/contactPersonDataManageToTask")
|
|
|
+ public HttpResult<?> contactPersonDataManageToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportContactPersonDataManageService.downloadListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-对接人-列表导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-对接人-明细查询
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-对接人-明细查询", description = "业务数据-对接人-明细查询")
|
|
|
+ @PostMapping(value = "/contactPersonDataManageDetailPageList")
|
|
|
+ public HttpResult<?> contactPersonDataManageDetailPageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportContactPersonDataManageService.getPageDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-对接人-明细导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-对接人-明细导出", description = "业务数据-对接人-明细导出")
|
|
|
+ @PostMapping(value = "/contactPersonDataManageDetailToTask")
|
|
|
+ public HttpResult<?> contactPersonDataManageDetailToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportCompanyDataManageService.downloadDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-对接人-明细导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:08
|
|
|
+ * @Description: 业务数据-业务员-列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-业务员-列表查询", description = "业务数据-业务员-列表查询")
|
|
|
+ @PostMapping(value = "/salesmanDataManagePageList")
|
|
|
+ public HttpResult<?> salesmanDataManagePageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportSalesmanDataManageService.getPageListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:09
|
|
|
+ * @Description: 业务数据-业务员-列表导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-业务员-列表导出", description = "业务数据-业务员-列表导出")
|
|
|
+ @PostMapping(value = "/salesmanDataManageToTask")
|
|
|
+ public HttpResult<?> salesmanDataManageToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportSalesmanDataManageService.downloadListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-业务员-列表导出任务处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-保险公司-明细查询
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-业务员-明细查询", description = "业务数据-业务员-明细查询")
|
|
|
+ @PostMapping(value = "/salesmanDataManageDetailPageList")
|
|
|
+ public HttpResult<?> salesmanDataManageDetailPageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportSalesmanDataManageService.getPageDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-业务员-明细导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-业务员-明细导出", description = "业务数据-业务员-明细导出")
|
|
|
+ @PostMapping(value = "/salesmanDataManageDetailToTask")
|
|
|
+ public HttpResult<?> salesmanDataManageDetailToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportSalesmanDataManageService.downloadDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-业务员-明细导出任务处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:08
|
|
|
+ * @Description: 业务数据-渠道-列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-渠道-列表查询", description = "业务数据-渠道-列表查询")
|
|
|
+ @PostMapping(value = "/channelDataManagePageList")
|
|
|
+ public HttpResult<?> channelDataManagePageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+
|
|
|
+ IPage<?> pageList = reportChannelDataManageService.getPageListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:09
|
|
|
+ * @Description: 业务数据-渠道-列表导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-渠道-列表导出", description = "业务数据-渠道-列表导出")
|
|
|
+ @PostMapping(value = "/channelDataManageToTask")
|
|
|
+ public HttpResult<?> channelDataManageToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportChannelDataManageService.downloadListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-渠道-列表导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-渠道-明细查询
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-渠道-明细查询", description = "业务数据-渠道-明细查询")
|
|
|
+ @PostMapping(value = "/channelDataManageDetailPageList")
|
|
|
+ public HttpResult<?> channelDataManageDetailPageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportChannelDataManageService.getPageDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-渠道-明细导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-渠道-明细导出", description = "业务数据-渠道-明细导出")
|
|
|
+ @PostMapping(value = "/channelDataManageDetailToTask")
|
|
|
+ public HttpResult<?> channelDataManageDetailToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportChannelDataManageService.downloadDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-渠道-明细导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:08
|
|
|
+ * @Description: 业务数据-电销-列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-电销-列表查询", description = "业务数据-电销-列表查询")
|
|
|
+ @PostMapping(value = "/telemarketingDataManagePageList")
|
|
|
+ public HttpResult<?> telemarketingDataManagePageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportTelemarketingDataManageService.getPageListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:09
|
|
|
+ * @Description: 业务数据-电销-列表导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-电销-列表导出", description = "业务数据-电销-列表导出")
|
|
|
+ @PostMapping(value = "/telemarketingDataManageToTask")
|
|
|
+ public HttpResult<?> telemarketingDataManageToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportTelemarketingDataManageService.downloadListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-电销-列表导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-电销-明细查询
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-电销-明细查询", description = "业务数据-电销-明细查询")
|
|
|
+ @PostMapping(value = "/telemarketingDataManageDetailPageList")
|
|
|
+ public HttpResult<?> telemarketingDataManageDetailPageList(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ IPage<?> pageList = reportTelemarketingDataManageService.getPageDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok(pageList);
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2025/9/22 17:11
|
|
|
+ * @Description: 业务数据-电销-明细导出
|
|
|
+ */
|
|
|
+ @Operation(summary = "业务数据-电销-明细导出", description = "业务数据-电销-明细导出")
|
|
|
+ @PostMapping(value = "/telemarketingDataManageDetailToTask")
|
|
|
+ public HttpResult<?> telemarketingDataManageDetailToTask(@RequestBody ReportSearchCommonVo reportSearchCommonVo) {
|
|
|
+ try{
|
|
|
+ reportTelemarketingDataManageService.downloadDetailListByParams(reportSearchCommonVo);
|
|
|
+ return HttpResult.ok("业务数据-电销-明细导出处理中,请在导出中心中查看");
|
|
|
+ }catch (Exception e){
|
|
|
+ return HttpResult.error(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+}
|