|
@@ -718,7 +718,7 @@ public class RMScontroller {
|
|
|
return rmsFeign.insertNotice(map);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "更新油价信息", notes = "根据dilNotice对象创建")
|
|
|
+ @ApiOperation(value = "更新公告信息", notes = "根据dilNotice对象创建")
|
|
|
@ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "dilNotice")
|
|
|
@PostMapping(value = "/updateNotice", produces = "application/json;charset=UTF-8")
|
|
|
public Map<String, Object> updateNotice(@RequestBody(required = false) Map<String, Object> map) {
|
|
@@ -741,6 +741,58 @@ public class RMScontroller {
|
|
|
return rmsFeign.getNoticeById(id);
|
|
|
}
|
|
|
|
|
|
+ //油价
|
|
|
+ @ApiOperation(value = "获取公告信息", notes = "分页查询")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
+ @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ @PostMapping(value = "/getOilPriceResultList")
|
|
|
+ public Map<String, Object> getOilPriceResultList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con
|
|
|
+ ) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return rmsFeign.getOilPriceResultList(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增油价信息", notes="根据DilNotice对象创建")
|
|
|
+ @ApiImplicitParam(name = "addOilPrice", value = "详细实体dilNotice", required = true, dataType = "DilNotice")
|
|
|
+ @PostMapping(value = "/insertOilPrice")
|
|
|
+ public Map<String, Object> insertOilPrice(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return rmsFeign.insertOilPrice(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "更新公告信息", notes = "根据dilNotice对象创建")
|
|
|
+ @ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "dilNotice")
|
|
|
+ @PostMapping(value = "/updateOilPrice", produces = "application/json;charset=UTF-8")
|
|
|
+ public Map<String, Object> updateOilPrice(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return rmsFeign.updateOilPrice(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
|
|
|
+ @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
|
|
|
+ @PostMapping(value = "/deleteOilPrice/{id}")//BigDecimal
|
|
|
+ public Map<String, Object> deleteOilPrice(@PathVariable("id") BigDecimal id) {
|
|
|
+ return rmsFeign.deleteOilPrice(id);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
|
|
|
+ @ApiImplicitParam(paramType = "path", name = "公告id", value = "ID", required = true, dataType = "BigDecimal")
|
|
|
+ @PostMapping(value = "/getOilPriceById/{id}")
|
|
|
+ public Map<String, Object> getOilPriceById(@PathVariable("id") BigDecimal id){
|
|
|
+ return rmsFeign.getOilPriceById(id);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
//*******************************下拉框************************
|
|
|
|