|  |  | 
 |  |  | package com.dy.pmsPlatform.product; | 
 |  |  |  | 
 |  |  | import com.alibaba.excel.converters.Converter; | 
 |  |  | import com.alibaba.fastjson2.JSON; | 
 |  |  | import com.dy.common.aop.SsoPowerAop; | 
 |  |  | import com.dy.common.webUtil.BaseResponse; | 
 |  |  | import com.dy.common.webUtil.BaseResponseUtils; | 
 |  |  | 
 |  |  | import jakarta.validation.Valid; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.core.io.ByteArrayResource; | 
 |  |  | import org.springframework.core.io.FileSystemResource; | 
 |  |  | import org.springframework.core.io.Resource; | 
 |  |  | import org.springframework.http.ContentDisposition; | 
 |  |  | import org.springframework.http.HttpHeaders; | 
 |  |  | import org.springframework.http.MediaType; | 
 |  |  | import org.springframework.http.ResponseEntity; | 
 |  |  | import org.springframework.util.StreamUtils; | 
 |  |  | import org.springframework.validation.BindingResult; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import java.io.ByteArrayOutputStream; | 
 |  |  | import java.io.File; | 
 |  |  | import java.io.FileInputStream; | 
 |  |  | import java.io.IOException; | 
 |  |  | import java.util.ArrayList; | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Objects; | 
 |  |  | import java.util.zip.ZipEntry; | 
 |  |  | import java.util.zip.ZipOutputStream; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 产品管理 |