Commit 3e39ba47 by 徐康

麦咖啡推送数据测试

parent 649faea0
......@@ -2527,12 +2527,16 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
orderConditionsReq.setPageSize(500);
orderConditionsReq.setSortRule(1);
BaseDownLoadResponse<List<OrderInfoReqs>> response = orderDownLoadSdkService.queryOrderByConditions(orderConditionsReq, LogThreadLocal.getTrackingNo());
AppLogUtil.infoLog("queryOrderByConditions:"+ JSON.toJSONString(response),null,null);
if(CollectionUtils.isEmpty(response.getResult())) {
break;
}
for(OrderInfoReqs orderInfoReqs : response.getResult()) {
try {
if(StringUtils.isBlank(orderInfoReqs.getReceiveTime())) {
orderInfoReqs.setReceiveTime(new Date().getTime()+"");
}
McCafePushOrderDto mcCafePushOrderDto = convert2McCafePushOrderInfo(orderInfoReqs);
System.out.println(JSON.toJSONString(mcCafePushOrderDto));
if(null != mcCafePushOrderDto) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment