Pārlūkot izejas kodu

修改优化,挂账不验证余额

lishiqiang 2 nedēļas atpakaļ
vecāks
revīzija
d68487a626

+ 2 - 1
ship-module-ota/ship-module-ota-biz/src/main/java/com/yc/ship/module/ota/service/distributorrecharge/DistributorRechargeServiceImpl.java

@@ -749,7 +749,8 @@ public class DistributorRechargeServiceImpl implements DistributorRechargeServic
                             } else {
                                 tradeName = "授信消费金额:" + money + "元,授信总额度不限,消费后剩余额度不限;已用额度" + afterBalance + "元";
                             }
-                            flag = distributorService.addSurplus(distributor.getId(), money);
+                            distributorService.addSurplus(distributor.getId(), money);
+                            flag = true;
                         }else if(storeRespDTO.get()!=null){
                             StoreRespDTO storeRsp = storeRespDTO.get();
                             beforeBalance = storeRsp.getBeforeAmount();