|
@@ -1,4 +1,8 @@
|
|
|
package com.steerinfo.dil.feign;
|
|
|
+import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -133,4 +137,45 @@ public interface RmsFeign {
|
|
|
@GetMapping(value = "/api/v1/rms/rmscapacity/getCapacityId")
|
|
|
Map<String, Object> getCapacityId();
|
|
|
|
|
|
+ /**
|
|
|
+ * @author huk
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/api/v1/rms/rmslinks/getLink")
|
|
|
+ Map<String, Object> getlink();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @author huk
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ //新增运输路线
|
|
|
+ @ApiOperation(value="新增运输路线")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "运输路线", required = false, dataType = "Map"),
|
|
|
+ })
|
|
|
+ @PostMapping("/api/v1/rms/rmslines/insertSelective")
|
|
|
+ Map<String, Object> insertSelective(@RequestBody(required = false) Map<String,Object> mapVal);
|
|
|
+
|
|
|
+ @PostMapping(value = "/api/v1/rms/rmslines/getAllLineDesk")
|
|
|
+ Map<String, Object> getAllLineDesk(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ @RequestParam("pageNum") Integer pageNum,
|
|
|
+ @RequestParam("pageSize")Integer pageSize,
|
|
|
+ @RequestParam("apiId")Integer apiId,
|
|
|
+ @RequestParam("con")String con);
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据主键查询出数据以供修改")
|
|
|
+ @PostMapping("/api/v1/rms/rmslines/getLinkToUpdate")
|
|
|
+ Map<String, Object> getLinkToUpdate(@RequestParam Integer lineId);
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据运输线路主表ID修改数据")
|
|
|
+ @PostMapping("/api/v1/rms/rmslines/updateByPrimaryKeySelective")
|
|
|
+ Map<String, Object> updateByPrimaryKeySelective(@RequestBody(required = false) Map<String,Object> mapVal);
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据运输线路主表ID修改数据,为逻辑删除")
|
|
|
+ @PostMapping("/api/v1/rms/rmslines/updateRmsLine")
|
|
|
+ Map<String, Object> updateRmsLine(@RequestBody(required = false) Map<String,Object> mapVal);
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据运输路线的主表id查询运输订单是否相关联")
|
|
|
+ @PostMapping("/api/v1/rms/rmslines/getCountNumber")
|
|
|
+ Map<String, Object> getCountNumber(@RequestParam Integer lineId);
|
|
|
}
|