| | |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "新增或修改", notes = "业务类型链接类型传输对象") |
| | | public R submitBtmType(@RequestBody BtmAndLinkTypeDdlDTO ddlDTO) { |
| | | return ddlService.submit(ddlDTO); |
| | | public R<List<ModifyAttributeInfo>> submitBtmType(@RequestBody BtmAndLinkTypeDdlDTO ddlDTO) { |
| | | try { |
| | | return ddlService.submit(ddlDTO); |
| | | } catch (Throwable e) { |
| | | return R.fail(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | Func.requireNotNull(addColumnDTO,"添加的对象"); |
| | | return R.status(ddlService.addColumnForTable(addColumnDTO)); |
| | | } |
| | | |
| | | } |