|
@@ -580,6 +580,29 @@ public class RMScontroller {
|
|
|
return rmsFeign.getGatepostRulesList(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,con);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="删除", notes="根据rulesId删除")
|
|
|
+ @ApiImplicitParam(name = "门岗规则id", value = "rulesId", required = true, dataType = "int")
|
|
|
+ @PostMapping(value = "/deleteGatepostRules/{rulesId}")
|
|
|
+ public Map<String, Object> deleteGatepostRules(@PathVariable("rulesId") BigDecimal rulesId) {
|
|
|
+ return rmsFeign.deleteGatepostRules(rulesId);
|
|
|
+ }
|
|
|
+ @ApiOperation(value="新增门岗规则")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "门岗规则", required = false, dataType = "Map"),
|
|
|
+ })
|
|
|
+ @PostMapping("/insertGatepostRule")
|
|
|
+ public Map<String, Object> insertGatepostRule(@RequestBody(required = false) Map<String,Object> mapValue){
|
|
|
+ return rmsFeign.insertGatepostRule(mapValue);
|
|
|
+ }
|
|
|
+ @ApiOperation(value="获取门岗名")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "门岗id", value = "gatepostId", required = true, dataType = "int")
|
|
|
+ })
|
|
|
+ @PostMapping("/getGatepostName/{gatepostId}")
|
|
|
+ public Map<String, Object> getGatepostName(@PathVariable("gatepostId") BigDecimal gatepostId){
|
|
|
+ return rmsFeign.getGatepostName(gatepostId);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/getMaterialTypeList")
|
|
|
@ApiOperation(value = "框计算物资种类")
|
|
|
public Map<String, Object> getMaterialTypeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
@@ -650,4 +673,67 @@ public class RMScontroller {
|
|
|
public Map<String, Object> getVehicleTypeId() {
|
|
|
return rmsFeign.getVehicleTypeId();
|
|
|
}
|
|
|
+ //通知
|
|
|
+ @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 = "/getNoticeList")
|
|
|
+ public Map<String, Object> getNoticeList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con
|
|
|
+ ) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return rmsFeign.getNoticeList(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 rmsFeign.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 rmsFeign.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 rmsFeign.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 rmsFeign.getNoticeById(id);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+//*******************************下拉框************************
|
|
|
+
|
|
|
+ @GetMapping("getNoticeTypeId")
|
|
|
+ @ApiOperation(value = "得到公告类型Id")
|
|
|
+ public Map<String,Object> getNoticeTypeId(){
|
|
|
+ return rmsFeign.getNoticeTypeId();
|
|
|
+ }
|
|
|
+
|
|
|
}
|