md
This commit is contained in:
parent
f97a84d9d3
commit
c353b40efe
@ -42,10 +42,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
import java.util.Base64;
|
import java.util.*;
|
||||||
import java.util.Date;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EMIS 公共 Controller
|
* EMIS 公共 Controller
|
||||||
@ -57,6 +54,8 @@ import java.util.Map;
|
|||||||
@RequestMapping("/emis/common")
|
@RequestMapping("/emis/common")
|
||||||
public class EmisCommonController extends EmisBaseController
|
public class EmisCommonController extends EmisBaseController
|
||||||
{
|
{
|
||||||
|
@Autowired
|
||||||
|
private IEmisTmsScanRecordService emisTmsScanRecordService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private IEmisElectronicSitePagService emisElectronicSitePagService;
|
private IEmisElectronicSitePagService emisElectronicSitePagService;
|
||||||
@ -357,4 +356,31 @@ public class EmisCommonController extends EmisBaseController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 对外物流轨迹信息
|
||||||
|
* @param trackingNo
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequestMapping("/queryTraceInfo")
|
||||||
|
public AjaxResult queryTraceInfo(String appId,String mainNo,String lang,String sign)
|
||||||
|
{
|
||||||
|
if(StringUtils.isAnyEmpty(mainNo,appId,sign)){
|
||||||
|
return AjaxResult.error("appId,sign,mainNo required!");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!"xdadan20240614".equals(appId)){
|
||||||
|
return AjaxResult.error("appId error!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
List<Map> rstList = new ArrayList();
|
||||||
|
Map<String,Object> rstMap = new HashMap<>();
|
||||||
|
rstMap.put("billCode",mainNo);
|
||||||
|
List<Map> stepList=emisTmsScanRecordService.queryWaybillTraceInfo(mainNo,lang);
|
||||||
|
rstMap.put("steps",stepList);
|
||||||
|
rstList.add(rstMap);
|
||||||
|
|
||||||
|
return AjaxResult.success("成功",rstList);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user