| | |
| | | device.setStorageUrl(dataConfigList.getStorageUrl()); |
| | | device.setIp(dataConfigList.getIp()); |
| | | device.setFileType(dataConfigList.getFileType()); |
| | | device.setMdbEntrustCode(dataConfigList.getMdbEntrustCode()); |
| | | device.setMdbSampleCode(dataConfigList.getMdbSampleCode()); |
| | | deviceService.updateById(device); |
| | | } else { |
| | | dataConfigService.saveOrUpdateBatch(dataConfigList.getDataConfigList()); |
| | |
| | | dataConfigService.removeBatchByIds(collect); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @ApiOperation(value = "菜单") |
| | | @PostMapping("/menu") |
| | | public Result menu() { |
| | | return Result.success(deviceService.menu()); |
| | | } |
| | | } |
| | | |