|
@@ -23,9 +23,9 @@ public class SysQueryVehicleConfigController {
|
|
|
|
|
|
|
|
private final SysQueryVehicleConfigService sysQueryVehicleConfigService;
|
|
private final SysQueryVehicleConfigService sysQueryVehicleConfigService;
|
|
|
|
|
|
|
|
- @ApiOperation(value = "车险查询配置")
|
|
|
|
|
|
|
+ @ApiOperation(value = "车险查询配置(新增)")
|
|
|
@PostMapping
|
|
@PostMapping
|
|
|
- public HttpResult<Page<SysQuotationTheme>> disposition(@RequestBody SysQueryVehicleConfigSaveVo sysQueryVehicleConfigSaveVo) {
|
|
|
|
|
|
|
+ public HttpResult<Object> disposition(@RequestBody SysQueryVehicleConfigSaveVo sysQueryVehicleConfigSaveVo) {
|
|
|
sysQueryVehicleConfigService.disposition(sysQueryVehicleConfigSaveVo);
|
|
sysQueryVehicleConfigService.disposition(sysQueryVehicleConfigSaveVo);
|
|
|
return HttpResult.ok();
|
|
return HttpResult.ok();
|
|
|
}
|
|
}
|
|
@@ -58,5 +58,11 @@ public class SysQueryVehicleConfigController {
|
|
|
return HttpResult.ok();
|
|
return HttpResult.ok();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "修改")
|
|
|
|
|
+ @PutMapping("/open/{id}")
|
|
|
|
|
+ public HttpResult<Page<SysQuotationTheme>> openOne(@PathVariable Integer id) {
|
|
|
|
|
+ sysQueryVehicleConfigService.openOne(id);
|
|
|
|
|
+ return HttpResult.ok();
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
}
|
|
}
|