md
This commit is contained in:
parent
e0135d5086
commit
4b00481c3d
@ -90,7 +90,43 @@ public class Oms2cCommonController extends BaseController
|
|||||||
@RequestMapping(value = "/queryTraceInfo")
|
@RequestMapping(value = "/queryTraceInfo")
|
||||||
AjaxResult queryTraceInfo(String mailno,String tail4){
|
AjaxResult queryTraceInfo(String mailno,String tail4){
|
||||||
|
|
||||||
return TraceUtils.queryTraceInfo(mailno,tail4);
|
AjaxResult rst=TraceUtils.queryTraceInfo(mailno,tail4);
|
||||||
|
|
||||||
|
JSONObject extBillInfo = new JSONObject();
|
||||||
|
extBillInfo.put("sendSiteName","");
|
||||||
|
extBillInfo.put("destinationName","");
|
||||||
|
extBillInfo.put("estimateDate","");
|
||||||
|
extBillInfo.put("productTypeName","");
|
||||||
|
|
||||||
|
try {
|
||||||
|
AjaxResult ar = this.iRpcWaybillSvc.getWaybillDetailByOms(mailno, "");
|
||||||
|
String code = ar.get("code").toString();
|
||||||
|
if ("200".equals(code)) {
|
||||||
|
|
||||||
|
if (ar.containsKey("data")) {
|
||||||
|
String dataStr = JSONObject.toJSONString(ar.get("data"));
|
||||||
|
JSONObject jobjData = JSONObject.parseObject(dataStr);
|
||||||
|
|
||||||
|
String sendSiteName = jobjData.getString("sendSiteName");
|
||||||
|
String destinationName = jobjData.getString("destinationName");
|
||||||
|
String estimateDateStr = jobjData.getString("estimateDate");
|
||||||
|
Date estimateDate = DateUtils.parseDate(estimateDateStr);
|
||||||
|
String productTypeName = jobjData.getString("productTypeName");
|
||||||
|
|
||||||
|
extBillInfo.put("sendSiteName",sendSiteName);
|
||||||
|
extBillInfo.put("destinationName",destinationName);
|
||||||
|
extBillInfo.put("estimateDate",DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,estimateDate));
|
||||||
|
extBillInfo.put("productTypeName",productTypeName);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}catch (Exception ex){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
rst.put("extBillInfo",extBillInfo);
|
||||||
|
return rst;
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/getSignedPic")
|
@RequestMapping(value = "/getSignedPic")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user