fix
parent
a547d26d57
commit
b18b5c4817
|
|
@ -1,6 +1,5 @@
|
|||
package com.ruoyi.web.controller.xkt;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import cn.hutool.core.util.XmlUtil;
|
||||
import cn.hutool.json.JSONUtil;
|
||||
|
|
@ -159,7 +158,7 @@ public class ExpressCallbackController extends XktBaseController {
|
|||
StoreOrderExpressTrackAddDTO dto = new StoreOrderExpressTrackAddDTO();
|
||||
dto.setExpressWaybillNo(ytTrack.getMailNo());
|
||||
dto.setAction(ytTrack.getInfoContent());
|
||||
dto.setDescription(DateUtil.formatDateTime(ytTrack.getAcceptTime()) + " " + ytTrack.getRemark());
|
||||
dto.setDescription(StrUtil.nullToEmpty(ytTrack.getAcceptTime()) + " " + ytTrack.getRemark());
|
||||
dto.setExpressId(EExpressChannel.YTO.getExpressId());
|
||||
switch (ytTrack.getInfoContent()) {
|
||||
case "GOT":
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public class YtoTrackObj {
|
|||
/**
|
||||
* 事件发生时间
|
||||
*/
|
||||
private Date acceptTime;
|
||||
private String acceptTime;
|
||||
/**
|
||||
* 备注或失败原因(值为中文原因或备注)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue