| | |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.mdm.program.service.MdmProgramImportService; |
| | | import org.springblade.mdm.program.service.NcProgramExchangeService; |
| | | import org.springblade.mdm.program.vo.DncSendBackData; |
| | | import org.springblade.mdm.program.vo.MdmProgramImportVO; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | @RestController |
| | | @RequestMapping("/program/mdmimport/") |
| | | @AllArgsConstructor |
| | | @Tag(name = "DNC导入", description = "DNC导入接口") |
| | | @Tag(name = "MDM导入", description = "工控网MDM导入接口") |
| | | @Slf4j |
| | | public class MdmProgramImportController { |
| | | |
| | |
| | | |
| | | @PostMapping("accept") |
| | | @ApiOperationSupport(order = 2) |
| | | @Operation(summary = "MDM程序入库", description = "涉密网程序确认入库") |
| | | @Operation(summary = "MDM程序入库", description = "工控网导入涉密网程序-确认入库") |
| | | public R<Void> accept(@RequestParam String ids) { |
| | | try { |
| | | mdmProgramImportService.mdmFileAccept(ids); |