Browse Source

88:退款订单优化

Long 3 days ago
parent
commit
5f2edf23cd

+ 2 - 6
fs-service-system/src/main/java/com/fs/store/service/impl/FsStoreAfterSalesServiceImpl.java

@@ -523,13 +523,9 @@ public class FsStoreAfterSalesServiceImpl implements IFsStoreAfterSalesService
 //
 //        return R.ok("操作成功");
 //    }
-
+    @Transactional(rollbackFor = Exception.class)
     @Override
-    public synchronized R refundMoney(FsStoreAfterSalesRefundParam param) {
-       return refundStoreMoney(param);
-    }
-    @Transactional
-    R refundStoreMoney(FsStoreAfterSalesRefundParam param){
+    public R refundMoney(FsStoreAfterSalesRefundParam param) {
         FsStoreAfterSales storeAfterSales = fsStoreAfterSalesMapper.selectFsStoreAfterSalesById(param.getSalesId());
         if (storeAfterSales == null) {
             throw new CustomException("未查询到售后订单信息");