|
@ -53,6 +53,15 @@ public class AppTubeSettingMgrControler { |
|
|
return ApiRet.success(); |
|
|
return ApiRet.success(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "配置试管(Muti)") |
|
|
|
|
|
@PostMapping("/updateMutiTubeSettings") |
|
|
|
|
|
public ApiRet<Void> updateTubeSetting(@RequestBody List<TubeSettingVal> model) throws AppException { |
|
|
|
|
|
for (TubeSettingVal val : model) { |
|
|
|
|
|
tubeSettingMgrService.updateTubeSetting(val.uuid, val.setting); |
|
|
|
|
|
} |
|
|
|
|
|
return ApiRet.success(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//添加试管架,返回整个列表 |
|
|
//添加试管架,返回整个列表 |
|
|
@Operation(summary = "添加<试管架>配置") |
|
|
@Operation(summary = "添加<试管架>配置") |
|
|
@PostMapping("/newTubeHolderSetting") |
|
|
@PostMapping("/newTubeHolderSetting") |
|
@ -96,7 +105,6 @@ public class AppTubeSettingMgrControler { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @Operation(summary = "设置<试管架>类型") |
|
|
// @Operation(summary = "设置<试管架>类型") |
|
|
// @PostMapping("/setTubeHolderType") |
|
|
// @PostMapping("/setTubeHolderType") |
|
|
// public ApiV1Ret<Void> setTubeHolderType(String uuid, A8kTubeHolderType type) throws AppException { |
|
|
// public ApiV1Ret<Void> setTubeHolderType(String uuid, A8kTubeHolderType type) throws AppException { |
|
|