|
|
@@ -586,6 +586,7 @@ public class LiveAfterSalesServiceImpl implements ILiveAfterSalesService {
|
|
|
|
|
|
|
|
|
@Override
|
|
|
+ @Transactional(rollbackFor = Exception.class,propagation = Propagation.REQUIRED)
|
|
|
public R revoke(String userId, LiveAfterSalesRevokeParam param) {
|
|
|
LiveAfterSales storeAfterSales = baseMapper.selectLiveAfterSalesById(param.getId());
|
|
|
if (storeAfterSales == null) {
|
|
|
@@ -615,7 +616,7 @@ public class LiveAfterSalesServiceImpl implements ILiveAfterSalesService {
|
|
|
logs.setStoreAfterSalesId(storeAfterSales.getId());
|
|
|
logs.setChangeMessage(OrderInfoEnum.REFUND_STATUS_1.getDesc());
|
|
|
liveAfterSalesLogsMapper.insertLiveAfterSalesLogs(logs);
|
|
|
- if (storeAfterSales.getOrderStatus().equals(3)) {
|
|
|
+ if (storeAfterSales.getOrderStatus().equals(2)) {
|
|
|
if (StringUtils.isNotEmpty(order.getExtendOrderId())) {
|
|
|
//更新订单code
|
|
|
String orderSn = SnowflakeUtils.nextId();
|