| | |
| | | /** |
| | | * 上传DNC回传文件 |
| | | * |
| | | * @param files 流程文件 |
| | | * @param category 类型 |
| | | * @param file dnc程序打包文件 |
| | | */ |
| | | @PostMapping("dnc-sendback-upload") |
| | | @ApiOperationSupport(order = 1) |
| | | @Operation(summary = "上传DNC回传文件", description = "传入文件") |
| | | public R<List<DncSendBackData>> dncSendBackUpload(@RequestParam MultipartFile file, |
| | | @RequestParam String category, |
| | | @RequestParam(required = false, defaultValue = "") String tenantIds) { |
| | | public R<List<DncSendBackData>> dncSendBackUpload(@RequestParam MultipartFile file) { |
| | | return R.data(dncSendBackService.dncSendBackUpload(file)); |
| | | } |
| | | |
| | | @PostMapping("dnc-sendback-accept") |
| | | @ApiOperationSupport(order = 2) |
| | | @Operation(summary = "DNC回传数据入库") |
| | | @Operation(summary = "DNC回传数据入库", description = "入库,同时启动固化流程") |
| | | public R<Void> dncSendBackAccept(@RequestParam String ids) { |
| | | try { |
| | | dncSendBackService.dncFileAccept(ids); |