| | |
| | | import org.springblade.mdm.program.service.ProgramAnnotationService; |
| | | import org.springblade.mdm.utils.FileContentUtil; |
| | | import org.springblade.system.pojo.entity.Dict; |
| | | import org.springblade.system.pojo.entity.DictBiz; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | |
| | | String filename = "CP3-1-1-1.txt"; |
| | | String machineGroup = "FANUC"; |
| | | List<Dict> annoDicts = programAnnotationService.getAnnotionList(); |
| | | List<DictBiz> annoDicts = programAnnotationService.getAnnotionList(); |
| | | BladeFile bfile = null; |
| | | try(InputStream ins = ossTemplate.statFileStream(ossName);){ |
| | | byte[] bytes = IOUtils.toByteArray(ins); |