diff --git a/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cCommonController.java b/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cCommonController.java index 56dfa0a..474d141 100644 --- a/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cCommonController.java +++ b/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cCommonController.java @@ -97,6 +97,16 @@ public class Oms2cCommonController extends BaseController @Autowired private OmsBaseService omsBaseService; + /** + * 获取轨迹记录 + * @param billCode + * @return + */ + @GetMapping("/getLbsRecordListByBillCode") + public AjaxResult getLbsRecordListByBillCode(String billCode) + { + return this.iRpcCommonSvc.getLbsRecordListByBillCode(billCode); + } /** * 获取电子面单单号 diff --git a/emis-oms-biz/src/main/java/com/xdadan/erp/oms/service/svc/IRpcCommonSvc.java b/emis-oms-biz/src/main/java/com/xdadan/erp/oms/service/svc/IRpcCommonSvc.java index b33f617..004fa38 100644 --- a/emis-oms-biz/src/main/java/com/xdadan/erp/oms/service/svc/IRpcCommonSvc.java +++ b/emis-oms-biz/src/main/java/com/xdadan/erp/oms/service/svc/IRpcCommonSvc.java @@ -9,6 +9,8 @@ import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; +import java.util.Date; + @FeignClient(name = "IRpcCommonSvc",url = "${service.provider.url}",configuration = {FeignErrorDecoder.class}) public interface IRpcCommonSvc { @@ -22,4 +24,8 @@ public interface IRpcCommonSvc { @GetMapping(value = "/apiweb/common/parseAddress") public AjaxResult parseAddress(@RequestParam("content") String content); + + @GetMapping(value = "/apiweb/common/getLbsRecordListByBillCode") + public AjaxResult getLbsRecordListByBillCode(@RequestParam("billCode") String billCode); + } \ No newline at end of file