|
|
@@ -611,6 +611,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
orderDon.setPhone(orderPhone);
|
|
|
//镜像店铺订单 区分车票
|
|
|
if (payRequest.getCmt() == 2 && userMirrorShop != null) {
|
|
|
+ log.info("镜像店铺订单:{}", orderDon.getOrderNo());
|
|
|
relation.setCmt(2);
|
|
|
relation.setYhsId(userMirrorShop.getId());
|
|
|
groupsRelationMapper.updateById(relation);
|
|
|
@@ -1634,6 +1635,10 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
//续费后,下一次续费意愿状态为false
|
|
|
relation.setRenewStatus(false);
|
|
|
relation.setIsHandle(false);
|
|
|
+ //若存在错误镜像店铺车票
|
|
|
+ if (relation.getCmt() == 2 && relation.getYhsId() == 0) {
|
|
|
+ relation.setCmt(0);
|
|
|
+ }
|
|
|
if (goodsDon.getSpecialType() != null && goodsDon.getSpecialType() == GoodsDon.SpecialType.recharge) {
|
|
|
relation.setRechargeStatus(GroupsRelation.RechargeStatus.waiting);
|
|
|
relation.setSubmitTime(DateTime.now());
|