Authored by mingdan.ge

测试日志

@@ -44,7 +44,6 @@ public class SendMessageHelper { @@ -44,7 +44,6 @@ public class SendMessageHelper {
44 // } 44 // }
45 try { 45 try {
46 String timeStr = DateUtil.long2DateStr(time * 1000, DateUtil.DATE_TIME_FORMAT); 46 String timeStr = DateUtil.long2DateStr(time * 1000, DateUtil.DATE_TIME_FORMAT);
47 - System.out.println(timeStr);  
48 SendMessageRspBo sendMessageRspBo=null; 47 SendMessageRspBo sendMessageRspBo=null;
49 if (type == 1) { 48 if (type == 1) {
50 //预估佣金提醒 49 //预估佣金提醒
@@ -62,7 +61,7 @@ public class SendMessageHelper { @@ -62,7 +61,7 @@ public class SendMessageHelper {
62 //申请成功提醒 61 //申请成功提醒
63 sendMessageRspBo=iSendProductMessage.joinSuccessNotice(Integer.toString(uid), timeStr); 62 sendMessageRspBo=iSendProductMessage.joinSuccessNotice(Integer.toString(uid), timeStr);
64 } 63 }
65 - log.info("sendMessage enter,uid is {},type is {},time is {},amount is {},sendMessageRspBo is {}.",uid,type,time,sendMessageRspBo); 64 + log.info("sendMessage end,uid is {},type is {},time is {},amount is {},sendMessageRspBo is {}.",uid,type,timeStr,amount,sendMessageRspBo);
66 } catch (Exception e) { 65 } catch (Exception e) {
67 log.error("sendMessage error,e is {}.",e); 66 log.error("sendMessage error,e is {}.",e);
68 } 67 }
@@ -2474,6 +2474,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport @@ -2474,6 +2474,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
2474 //更新关联订单状态 2474 //更新关联订单状态
2475 unionShareOrdersMapper.updateStatusByCode(bo.getSettlementCode(), ShareOrdersStatusEnum.SETTLE.getCode(), ShareOrdersStatusEnum.HAS_SETTLE.getCode(), updateReq.getUpdateTime()); 2475 unionShareOrdersMapper.updateStatusByCode(bo.getSettlementCode(), ShareOrdersStatusEnum.SETTLE.getCode(), ShareOrdersStatusEnum.HAS_SETTLE.getCode(), updateReq.getUpdateTime());
2476 2476
  2477 + logger.info("updateSettlementStatus ,req is {},begin sendMessage.",bo);
2477 //发送打款公众号消息 2478 //发送打款公众号消息
2478 sendMessageHelper.sendMessage(bo.getPromoteUid(),2,updateReq.getUpdateTime(),bo.getSettlementAmount()); 2479 sendMessageHelper.sendMessage(bo.getPromoteUid(),2,updateReq.getUpdateTime(),bo.getSettlementAmount());
2479 //清缓存 2480 //清缓存