|
|
@@ -3,6 +3,7 @@ package com.steerinfo.dil.controller;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.steerinfo.dil.annotaion.LogAround;
|
|
|
import com.steerinfo.dil.feign.AmsFeign;
|
|
|
+import com.steerinfo.dil.feign.TmsFeign;
|
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
import com.steerinfo.dil.util.ExcelToolUtils;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
@@ -34,6 +35,9 @@ public class AMScontroller extends BaseRESTfulController {
|
|
|
@Autowired
|
|
|
AmsFeign amsFeign;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ TmsFeign tmsFeign;
|
|
|
+
|
|
|
@ApiOperation(value = "展示采购订单详情")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "mapValue", value = "参数", required = false, dataType = "map"),
|
|
|
@@ -1044,7 +1048,7 @@ public class AMScontroller extends BaseRESTfulController {
|
|
|
@ApiOperation("派车")
|
|
|
@PostMapping("/dispatch")
|
|
|
public Map<String, Object> dispatch() throws Exception {
|
|
|
- return amsFeign.dispatch();
|
|
|
+ return tmsFeign.fixedDispatch();
|
|
|
}
|
|
|
|
|
|
@ApiOperation("强制修改")
|