Parcourir la source

缴费开阀修改

wangli il y a 4 ans
Parent
commit
3ccf2a492c

+ 3 - 3
smart-city-platform/src/main/java/com/bz/smart_city/service/impl/pay/PayFeeServiceImp.java

@@ -325,7 +325,7 @@ public class PayFeeServiceImp implements PayFeeService {
         if(transactiondetailsDtoList.size()>0){
             payTransactiondetailsMapper.batchInsert(transactiondetailsDtoList);
         }
-        openValveByPayFee(new BigInteger(id), loginUser.getSiteId(),loginUser.getCustomerId());
+        openValveByPayFee(new BigInteger(id), siteId,customerId);
         //返回批次号
         PayfeeResult payfeeResult=new PayfeeResult();
         payfeeResult.setMsg(result);
@@ -632,7 +632,7 @@ public class PayFeeServiceImp implements PayFeeService {
          payTransactiondetailsMapper.batchInsert(transactiondetailsDtoList);
        }
 
-       openValveByPayFee(payCustomRechargeDto.getAccountId(), loginUser.getSiteId(),loginUser.getCustomerId());
+       openValveByPayFee(payCustomRechargeDto.getAccountId(), siteId,customerId);
 
         //返回批次号
        return  payseriesno;
@@ -718,7 +718,7 @@ public class PayFeeServiceImp implements PayFeeService {
             payfeeResult.setMsg("充值金额:"+String.format("%.2f", transAmount)+"元");
         }
 
-        openValveByPayFee(new BigInteger(accountId), loginUser.getSiteId(),loginUser.getCustomerId());
+        openValveByPayFee(new BigInteger(accountId), siteId,customerId);
 
         return payfeeResult;
     }