|
|
@@ -870,7 +870,7 @@ public class DfOrderServiceImpl implements IErpOrderService {
|
|
|
List<ErpDeliverys> deliverys = express.getDeliverys();
|
|
|
ErpDeliverys tracesDTO = deliverys.get(deliverys.size() - 1);
|
|
|
String remark = tracesDTO.getRemark();
|
|
|
-
|
|
|
+ log.info("物流信息 - orderId: {}, 状态: {}, 描述: {}", orderId, stateEx,remark);
|
|
|
if ("0".equals(stateEx) || "1".equals(stateEx) || "2".equals(stateEx)) {
|
|
|
if (remark.contains("已收取快件")){
|
|
|
sBuilder.append("您好,您有一个包裹正在准备发货,请耐心等待;\n");
|
|
|
@@ -921,7 +921,7 @@ public class DfOrderServiceImpl implements IErpOrderService {
|
|
|
wxWorkSendTextMsgDTO.setIsRoom(false);
|
|
|
|
|
|
try {
|
|
|
-// wxWorkService.SendTextMsg(wxWorkSendTextMsgDTO, qwUser.getServerId());
|
|
|
+ wxWorkService.SendTextMsg(wxWorkSendTextMsgDTO, qwUser.getServerId());
|
|
|
log.info("AI物流消息发送成功 - orderId: {}, sendId: {}", orderId, sendId);
|
|
|
|
|
|
// 发送成功后设置今天的Redis标识
|
|
|
@@ -1356,7 +1356,7 @@ public class DfOrderServiceImpl implements IErpOrderService {
|
|
|
List<ErpDeliverys> deliverys = express.getDeliverys();
|
|
|
ErpDeliverys tracesDTO = deliverys.get(deliverys.size() - 1);
|
|
|
String remark = tracesDTO.getRemark();
|
|
|
-
|
|
|
+ log.info("物流信息 - orderId: {}, 状态: {}, 描述: {}", orderId, stateEx,remark);
|
|
|
if ("0".equals(stateEx) || "1".equals(stateEx) || "2".equals(stateEx)) {
|
|
|
if (remark.contains("已收取快件")){
|
|
|
sBuilder.append("您好,您有一个包裹正在准备发货,请耐心等待;\n");
|
|
|
@@ -1407,7 +1407,7 @@ public class DfOrderServiceImpl implements IErpOrderService {
|
|
|
wxWorkSendTextMsgDTO.setIsRoom(false);
|
|
|
|
|
|
try {
|
|
|
-// wxWorkService.SendTextMsg(wxWorkSendTextMsgDTO, qwUser.getServerId());
|
|
|
+ wxWorkService.SendTextMsg(wxWorkSendTextMsgDTO, qwUser.getServerId());
|
|
|
log.info("每日上午9点和下午4点发送物流消息 AI物流消息发送成功 - orderId: {}, sendId: {}", orderId, sendId);
|
|
|
|
|
|
// 设置已签收的发送标识
|