|
@@ -99,10 +99,7 @@ public class RmsOilPriceController extends BaseRESTfulController {
|
|
|
* @return
|
|
|
*/
|
|
|
|
|
|
- @PostMapping(value = "/updateOilPrice", produces = "application/json;charset=UTF-8")
|
|
|
- public RESTfulResult updateOilPrice(@RequestBody(required = false) Map<String, Object> map){
|
|
|
- Integer priceId = (Integer) map.get("priceId");
|
|
|
- int result = rmsOilPriceService.updateOilPrice(priceId);
|
|
|
+
|
|
|
@PostMapping(value = "/updateOilPrice")
|
|
|
public RESTfulResult updateOilPrice(@RequestBody(required = false) Map<String, Object> mapValue){
|
|
|
int result = rmsOilPriceService.updateOilPrice(mapValue);
|