|
@@ -1,6 +1,8 @@
|
|
|
package com.steerinfo.dil.controller;
|
|
|
import com.steerinfo.dil.feign.RmsFeign;
|
|
|
+import com.steerinfo.dil.util.PageListAdd;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
+import com.steerinfo.framework.service.pagehelper.PageHelper;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -1248,4 +1250,98 @@ public class RMScontroller {
|
|
|
return rmsFeign.selectBmsshipPriceList(id);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "查询运力类型")
|
|
|
+ @PostMapping("/getCapacityType")
|
|
|
+ public Map<String, Object> getCapacityType(@RequestBody(required = false) Map<String,Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con) {
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return rmsFeign.getCapacityType(map,apiId,pageNum,pageSize,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增运力类型")
|
|
|
+ @PostMapping(value = "/insertCapacityType")
|
|
|
+ public Map<String, Object> insertCapacityType(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return rmsFeign.insertCapacityType(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="删除运力类型")
|
|
|
+ @PostMapping(value = "/deleteCapacityType/{id}")
|
|
|
+ public Map<String, Object> deleteCapacityType(@PathVariable("id")BigDecimal id){
|
|
|
+ return rmsFeign.deleteCapacityType(id);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询运输范围")
|
|
|
+ @PostMapping("/getTransRange")
|
|
|
+ public Map<String, Object> getTransRange(@RequestBody(required = false) Map<String,Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con) {
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return rmsFeign.getTransRange(map,apiId,pageNum,pageSize,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增运输范围")
|
|
|
+ @PostMapping(value = "/insertTransRange")
|
|
|
+ public Map<String, Object> insertTransRange(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return rmsFeign.insertTransRange(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询APP备注")
|
|
|
+ @PostMapping("/getMaterialCoke")
|
|
|
+ public Map<String, Object> getMaterialCoke(@RequestBody(required = false) Map<String,Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con) {
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return rmsFeign.getMaterialCoke(map,apiId,pageNum,pageSize,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增APP备注")
|
|
|
+ @PostMapping(value = "/insertMaterialCoke")
|
|
|
+ public Map<String, Object> insertMaterialCoke(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return rmsFeign.insertMaterialCoke(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="删除APP备注")
|
|
|
+ @PostMapping(value = "/deleteMaterialCoke/{id}")
|
|
|
+ public Map<String, Object> deleteMaterialCoke(@PathVariable("id")BigDecimal id){
|
|
|
+ return rmsFeign.deleteMaterialCoke(id);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询收款客户")
|
|
|
+ @PostMapping("/getReceiveCompany")
|
|
|
+ public Map<String, Object> getReceiveCompany(@RequestBody(required = false) Map<String,Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con) {
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return rmsFeign.getReceiveCompany(map,apiId,pageNum,pageSize,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增收款客户")
|
|
|
+ @PostMapping(value = "/insertReceiveCompany")
|
|
|
+ public Map<String, Object> insertReceiveCompany(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return rmsFeign.insertReceiveCompany(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="删除收款客户")
|
|
|
+ @PostMapping(value = "/deleteReceiveCompany/{id}")
|
|
|
+ public Map<String, Object> deleteReceiveCompany(@PathVariable("id")BigDecimal id){
|
|
|
+ return rmsFeign.deleteReceiveCompany(id);
|
|
|
+ }
|
|
|
}
|