dengpan пре 2 година
родитељ
комит
ad887a2ba6

+ 9 - 0
src/main/java/com/steerinfo/dil/controller/AMScontroller.java

@@ -582,4 +582,13 @@ public class AMScontroller {
     public Map<String, Object> productionRequirementChanges(@PathVariable String id,@RequestBody(required = false) Map<String, Object> map) {
         return amsFeign.productionRequirementChanges(id,map);
     }
+
+    @ApiOperation(value = "查询派单时需要的发运单信息", notes = "查询派单时需要的发运单信息")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "planChildId", value = "json格式具体参数", required = true, dataType = "Integer")
+    })
+    @PostMapping(value = "/selectPlanChildById/{planChildId}")
+    public RESTfulResult selectPlanChildById(@PathVariable("planChildId") String planChildId) {
+        return amsFeign.selectPlanChildById(planChildId);
+    }
 }

+ 3 - 0
src/main/java/com/steerinfo/dil/feign/AmsFeign.java

@@ -206,4 +206,7 @@ public interface AmsFeign {
     @PostMapping(value = "api/v1/ams/amstransrequirements/productionRequirementChanges/{id}")
     Map<String, Object> productionRequirementChanges(@PathVariable String id,@RequestBody Map<String, Object> map);
 
+    @PostMapping(value = "api/v1/ams/amsplanchilds/selectPlanChildById/{planChildId}")
+    RESTfulResult selectPlanChildById(@PathVariable("planChildId") String planChildId);
+
 }