|
@@ -1,6 +1,7 @@
|
|
|
package com.steerinfo.dil.controller;
|
|
|
|
|
|
import com.steerinfo.dil.feign.AmsFeign;
|
|
|
+import com.steerinfo.dil.service.impl.UniversalServiceImpl;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
@@ -27,6 +28,15 @@ public class AMScontroller{
|
|
|
@Autowired
|
|
|
AmsFeign amsFeign;
|
|
|
|
|
|
+
|
|
|
+ UniversalServiceImpl universalService;*/
|
|
|
+
|
|
|
+
|
|
|
+ public int test1(){
|
|
|
+ universalService.closePassedOrder();
|
|
|
+ return 1;
|
|
|
+ }*/
|
|
|
+
|
|
|
@ApiOperation(value="查询运输预约")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
@@ -2074,4 +2084,20 @@ public class AMScontroller{
|
|
|
}
|
|
|
return amsFeign.updateTransPrice(mapValue);
|
|
|
}
|
|
|
+ @PostMapping("/getwz")
|
|
|
+ @ApiOperation(value = "查询物资")
|
|
|
+ public Map<String, Object> getwz(@RequestBody(required = false) Map<String, Object> mapValue) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getwz(mapValue);
|
|
|
+ }
|
|
|
+ @PostMapping("/getcargonameId")
|
|
|
+ @ApiOperation(value = "查询联动公式数据")
|
|
|
+ public Map<String, Object> getcargonameId(@RequestBody(required = false) Map<String, Object> mapValue) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getcargonameId(mapValue);
|
|
|
+ }
|
|
|
}
|