|
@@ -861,9 +861,9 @@ public class RMScontroller {
|
|
|
|
|
|
@ApiOperation(value = "更新公告信息", notes = "根据dilNotice对象创建")
|
|
|
@ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "dilNotice")
|
|
|
- @PostMapping(value = "/updateOilPrice/{id}")
|
|
|
- public Map<String, Object> updateOilPrice(@PathVariable("id") Integer id) {
|
|
|
- return rmsFeign.updateOilPrice(id);
|
|
|
+ @PostMapping(value = "/updateOilPrice")
|
|
|
+ public Map<String, Object> updateOilPrice(@RequestBody(required = false) Map<String, Object> mapValue) {
|
|
|
+ return rmsFeign.updateOilPrice(mapValue);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value="删除", notes="根据url的id来指定删除对象")
|