| | |
| | | import org.apache.tika.utils.StringUtils; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.mdm.flow.entity.FlowProgramFile; |
| | | import org.springblade.mdm.flow.service.FlowProgramFileService; |
| | | import org.springblade.mdm.program.entity.NcNode; |
| | | import org.springblade.mdm.program.service.NcNodeService; |
| | | import org.springblade.mdm.program.service.NcProgramService; |
| | | import org.springblade.mdm.program.service.ProgramFlowStatusQueryService; |
| | | import org.springblade.mdm.program.vo.CompareDataVO; |
| | | import org.springblade.mdm.program.vo.NcNodeQueryVO; |
| | | import org.springblade.mdm.program.vo.NcNodeVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 程序节点 |
| | |
| | | private final FlowProgramFileService flowProgramFileService; |
| | | |
| | | @GetMapping("/compare-with-try") |
| | | @Operation(summary = "对比当前文件与之前试切版本的内容", description = "查询对比内容的2个文本数据") |
| | | @Operation(summary = "对比当前文件与之前试切版本的内容", description = "查询对比的2个文本内容") |
| | | public R<CompareDataVO> compareWithTry(@Parameter(description="文件id)")Long fileId) { |
| | | CompareDataVO vo = new CompareDataVO(); |
| | | FlowProgramFile flowFile = flowProgramFileService.getById(fileId); |