Commit a182841d by 徐康

Merge branch 'feature/20201201_xukang_麦咖啡p4v1' into qa

parents c575b6b2 ed0a8901
......@@ -1241,10 +1241,9 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
requestVo.setTransId(orderId);
}
String trackingNo = LogTreadLocal.getTrackingNo();
Integer refundStatus = requestVo.getRefundStatus();
if (!Objects.equals(refundStatus, ResponseCodeConstant.RESPONSE_SUCCESS)) {
if (!Objects.equals(requestVo.getRefundStatus(), RefundStatus.COMPLETE_REFUND.getCode())) {
//只有退款成功更新状态.其他情况不处理
return refundFailedMessage("pay refundStatus is not 100,refundStatus=" + refundStatus);
return refundFailedMessage("pay refundStatus is not 4,refundStatus=" + requestVo.getRefundStatus());
}
// 如果transId为空,返回失败
if (StringUtils.isBlank(requestVo.getTransId())) {
......
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