| | |
| | | import com.ruoyi.basic.pojo.CustomerReturnVisit; |
| | | import com.ruoyi.basic.service.CustomerFollowUpService; |
| | | import com.ruoyi.basic.service.CustomerReturnVisitService; |
| | | import com.ruoyi.basic.vo.CustomerFollowUpExportVo; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Log; |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | /** |
| | | * 导出洽谈进度(按跟进记录展开) |
| | | */ |
| | | @Operation(summary = "导出洽谈进度") |
| | | @PostMapping("/export") |
| | | @Log(title = "洽谈进度-导出", businessType = BusinessType.EXPORT) |
| | | public void export(HttpServletResponse response, String customerName, String customerType) { |
| | | ExcelUtil<CustomerFollowUpExportVo> util = new ExcelUtil<CustomerFollowUpExportVo>(CustomerFollowUpExportVo.class); |
| | | util.exportExcel(response, customerFollowUpService.selectFollowUpExportList(customerName, customerType), "洽谈进度"); |
| | | } |
| | | |
| | | } |