Commit 71489756 by 周晓航

评价有礼开发-兼容老小程序

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent c85b0f06
...@@ -126,6 +126,7 @@ public class EvaluationServiceImpl implements EvaluationService { ...@@ -126,6 +126,7 @@ public class EvaluationServiceImpl implements EvaluationService {
} }
CheckAndJoinRequest requestCommon = getCheckAndJoinRequest(data, sessionId, orderId, activityId); CheckAndJoinRequest requestCommon = getCheckAndJoinRequest(data, sessionId, orderId, activityId);
BaseResponse<CheckAndJoinResponse> checkAndJoin = activityApplicationClient.checkAndJoin(requestCommon); BaseResponse<CheckAndJoinResponse> checkAndJoin = activityApplicationClient.checkAndJoin(requestCommon);
LogUtil.info("请求活动-评价有礼",requestCommon, checkAndJoin);
if (checkAndJoin != null if (checkAndJoin != null
&& checkAndJoin.getCode().equals(ResponseResult.SUCCESS.getCode())) { && checkAndJoin.getCode().equals(ResponseResult.SUCCESS.getCode())) {
return checkAndJoin.getResult(); return checkAndJoin.getResult();
...@@ -218,7 +219,6 @@ public class EvaluationServiceImpl implements EvaluationService { ...@@ -218,7 +219,6 @@ public class EvaluationServiceImpl implements EvaluationService {
OrderEvaluationStatus orderEvaluationStatus = new OrderEvaluationStatus(1); OrderEvaluationStatus orderEvaluationStatus = new OrderEvaluationStatus(1);
List<AssortmentOrderEvaluation> orderEvaluationListAmount = assortmentEvaluationManager.getOrderEvaluationDetailsByOrderId(request.getOrderId()); List<AssortmentOrderEvaluation> orderEvaluationListAmount = assortmentEvaluationManager.getOrderEvaluationDetailsByOrderId(request.getOrderId());
LogUtil.info("请求活动-评价有礼",request.getOrderId(), JSON.toJSONString(orderEvaluationListAmount));
if (orderEvaluationListAmount != null && orderEvaluationListAmount.size() > 0) { if (orderEvaluationListAmount != null && orderEvaluationListAmount.size() > 0) {
// 获取 评价有礼活动 // 获取 评价有礼活动
AssortmentOrderEvaluation assortmentOrderEvaluation = orderEvaluationListAmount.get(0); AssortmentOrderEvaluation assortmentOrderEvaluation = orderEvaluationListAmount.get(0);
......
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