Commit 6b3d7f34 by 查志伟

添加debug日志

parent bdd36848
...@@ -73,6 +73,7 @@ import com.freemud.api.assortment.datamanager.manager.customer.AssortmentCustome ...@@ -73,6 +73,7 @@ import com.freemud.api.assortment.datamanager.manager.customer.AssortmentCustome
import com.freemud.api.assortment.datamanager.meal.MealCacheManager; import com.freemud.api.assortment.datamanager.meal.MealCacheManager;
import com.freemud.application.sdk.api.constant.ResponseConstant; import com.freemud.application.sdk.api.constant.ResponseConstant;
import com.freemud.application.sdk.api.constant.ResponseResultEnum; import com.freemud.application.sdk.api.constant.ResponseResultEnum;
import com.freemud.application.sdk.api.log.ApiLog;
import com.freemud.application.sdk.api.log.ErrorLog; import com.freemud.application.sdk.api.log.ErrorLog;
import com.freemud.application.sdk.api.log.LogThreadLocal; import com.freemud.application.sdk.api.log.LogThreadLocal;
import com.freemud.application.sdk.api.ordercenter.common.OrderAndShoppingCommonRedisKey; import com.freemud.application.sdk.api.ordercenter.common.OrderAndShoppingCommonRedisKey;
...@@ -405,6 +406,7 @@ public class OrderServiceImpl implements Orderservice { ...@@ -405,6 +406,7 @@ public class OrderServiceImpl implements Orderservice {
queryPay.setOutOrderNo(orderBean.getOid()); queryPay.setOutOrderNo(orderBean.getOid());
MultiQueryRespDto payResponse = comPayClient.paymentApplicationQuery(queryPay, Integer.valueOf(partnerId)); MultiQueryRespDto payResponse = comPayClient.paymentApplicationQuery(queryPay, Integer.valueOf(partnerId));
if (null != payResponse && null != payResponse.getData() && CollectionUtils.isNotEmpty(payResponse.getData().getQueryList())) { if (null != payResponse && null != payResponse.getData() && CollectionUtils.isNotEmpty(payResponse.getData().getQueryList())) {
ApiLog.infoMessage("开始准备更新订单支付信息,payList:<{}>", JSON.toJSONString(payResponse.getData().getQueryList()));
List<MultiPaymentRespDto> payList = payResponse.getData().getQueryList(); List<MultiPaymentRespDto> payList = payResponse.getData().getQueryList();
// 和订单里的匹配 // 和订单里的匹配
payList.forEach(pay -> { payList.forEach(pay -> {
...@@ -421,10 +423,11 @@ public class OrderServiceImpl implements Orderservice { ...@@ -421,10 +423,11 @@ public class OrderServiceImpl implements Orderservice {
editReq.setPayChannelName(PayChannelType.COMB.getName()); editReq.setPayChannelName(PayChannelType.COMB.getName());
editReq.setPayChannelType(PayChannelType.COMB.getIndex()); editReq.setPayChannelType(PayChannelType.COMB.getIndex());
editReq.setOrderPayItem(payItem); editReq.setOrderPayItem(payItem);
ApiLog.infoMessage("更新订单支付信息,editReq:<{}>", JSON.toJSONString(editReq));
orderCenterSdkService.orderEdit(editReq); orderCenterSdkService.orderEdit(editReq);
} }
} }
} catch (Exception ignored) {} //这个异常catch住,不影响业务流程 } catch (Exception ignored) {ErrorLog.errorConvertJson(this.getClass(), "更新订单支付信息异常", ignored);} //这个异常catch住,不影响业务流程
String takeCode; String takeCode;
String daySeq; String daySeq;
......
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