| | |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | |
| | | util.exportExcel(response, list, "客户档案数据"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导入客户档案 |
| | | */ |
| | | @Log(title = "客户档案", businessType = BusinessType.IMPORT) |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(MultipartFile file) throws Exception { |
| | | |
| | | return success(customerService.importData(file)); |
| | | } |
| | | |
| | | /** |
| | | * 获取客户档案详细信息 |
| | | */ |