|
@@ -1670,6 +1670,13 @@ public class AMScontroller{
|
|
|
return amsFeign.insertNotice(map);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="发布公告信息", notes="根据DilNotice对象创建")
|
|
|
+ @ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "DilNotice")
|
|
|
+ @PostMapping(value = "/releaseNotice")
|
|
|
+ public Map<String, Object> releaseNotice(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return amsFeign.releaseNotice(map);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "更新油价信息", notes = "根据dilNotice对象创建")
|
|
|
@ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "dilNotice")
|
|
|
@PostMapping(value = "/updateNotice", produces = "application/json;charset=UTF-8")
|
|
@@ -1677,6 +1684,12 @@ public class AMScontroller{
|
|
|
return amsFeign.updateNotice(map);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @PostMapping(value = "/updateNoticeStatus", produces = "application/json;charset=UTF-8")
|
|
|
+ public Map<String, Object> updateNoticeStatus(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return amsFeign.updateNoticeStatus(map);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value="删除", notes="根据url的id来指定删除对象")
|
|
|
@ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
|
|
|
@PostMapping(value = "/deleteNotice/{id}")//BigDecimal
|