|
@@ -1382,4 +1382,127 @@ public class AMScontroller{
|
|
public Map<String,Object> addDispatchSaleOrder(@RequestBody Map<String,Object> mapValue) {
|
|
public Map<String,Object> addDispatchSaleOrder(@RequestBody Map<String,Object> mapValue) {
|
|
return amsFeign.addDispatchSaleOrder(mapValue);
|
|
return amsFeign.addDispatchSaleOrder(mapValue);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ //发布通知================================================================================================================================
|
|
|
|
+ //公告展示
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "销售公司获取公告信息", notes = "分页查询")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(414)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping(value = "/getMarketingNoticeList")
|
|
|
|
+ public Map<String, Object> getMarketingNoticeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String con
|
|
|
|
+ ) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return amsFeign.getMarketingNoticeList(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "承运商获取公告信息", notes = "分页查询")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(414)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping(value = "/getCarrierNoticeList")
|
|
|
|
+ public Map<String, Object> getCarrierNoticeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String con
|
|
|
|
+ ) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return amsFeign.getCarrierNoticeList(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "收货用户获取公告信息", notes = "分页查询")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(414)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping(value = "/getClientNoticeList")
|
|
|
|
+ public Map<String, Object> getClientNoticeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String con
|
|
|
|
+ ) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return amsFeign.getClientNoticeList(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="新增公告信息", notes="根据DilNotice对象创建")
|
|
|
|
+ @ApiImplicitParam(name = "dilNotice", value = "详细实体dilNotice", required = true, dataType = "DilNotice")
|
|
|
|
+ @PostMapping(value = "/insertNotice")
|
|
|
|
+ public Map<String, Object> insertNotice(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ return amsFeign.insertNotice(map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @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) {
|
|
|
|
+ return amsFeign.updateNotice(map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
|
|
|
|
+ @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
|
|
|
|
+ @PostMapping(value = "/deleteNotice/{id}")//BigDecimal
|
|
|
|
+ public Map<String, Object> deleteNotice(@PathVariable("id") BigDecimal id) {
|
|
|
|
+ return amsFeign.deleteNotice(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
|
|
|
|
+ @ApiImplicitParam(paramType = "path", name = "公告id", value = "ID", required = true, dataType = "BigDecimal")
|
|
|
|
+ @PostMapping(value = "/getNoticeById/{id}")
|
|
|
|
+ public Map<String, Object> getNoticeById(@PathVariable("id") BigDecimal id){
|
|
|
|
+ return amsFeign.getNoticeById(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="获取最新公告详细信息", notes="根据url的permissions来获取详细信息")
|
|
|
|
+ @ApiImplicitParam(paramType = "name", name = "权限permission", value = "permission", required = true, dataType = "String")
|
|
|
|
+ @PostMapping(value = "/getNewNoticeByPermission/{permissions}")
|
|
|
|
+ public Map<String, Object> getNewNoticeByPermission(@PathVariable("permissions") String permissions){
|
|
|
|
+ return amsFeign.getNewNoticeByPermission(permissions);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //*******************************下拉框************************
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @GetMapping("getNoticeTypeId")
|
|
|
|
+ @ApiOperation(value = "得到公告类型Id")
|
|
|
|
+ public Map<String,Object> getNoticeTypeId(){
|
|
|
|
+ return amsFeign.getNoticeTypeId();
|
|
|
|
+ }
|
|
}
|
|
}
|