| | |
| | | package org.springblade.mdm.program.service.programannotation; |
| | | |
| | | import com.qiniu.util.IOUtils; |
| | | import org.apache.commons.io.FilenameUtils; |
| | | import org.springblade.mdm.program.service.ProgramAnnotationService; |
| | | import org.springblade.mdm.utils.FileContentUtil; |
| | | import org.springblade.system.pojo.entity.DictBiz; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.io.ByteArrayInputStream; |
| | | import java.io.IOException; |
| | | import java.io.InputStream; |
| | | import java.util.List; |
| | | |
| | | |
| | | @Component("defaultProcessor") |
| | |
| | | |
| | | |
| | | @Override |
| | | public InputStream setAnnotation(AnnotationData annoData, InputStream inputStream) throws IOException { |
| | | InputStream insAfter = super.setFilenameAnnotation(annoData.getFilename(),inputStream); |
| | | public InputStream putAnnotation(AnnotationData annoData, InputStream inputStream) throws IOException { |
| | | InputStream insAfter = super.putFilenameAnnotation(annoData.getFilename(),inputStream); |
| | | |
| | | return super.setAnnotation(annoData, insAfter); |
| | | return super.putAnnotation(annoData, insAfter); |
| | | |
| | | } |
| | | |