‘linchangsheng’ před 5 měsíci
rodič
revize
6501dd2445

+ 2 - 2
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/logic/material/withdrawal/WithdrawalLogic.java

@@ -183,7 +183,7 @@ public class WithdrawalLogic {
 
     public SettlementAmountBean totalAmount(){
         CurrentCompanyWechat currentCompanyWechat = commonLogic.getCurrentCompanyWechat();
-        return this.totalAmount(currentCompanyWechat.getUser().getWorkerNumber(),null,null);
+        return this.totalAmount(currentCompanyWechat.getUser().getUserId(),null,null);
     }
 
     /**
@@ -191,7 +191,7 @@ public class WithdrawalLogic {
      * @param workerId
      * @return
      */
-    public SettlementAmountBean totalAmount(String workerId,String websitId,List<SettlementOrder> list){
+    public SettlementAmountBean totalAmount(String userId,String websitId,List<SettlementOrder> list){
 
         CurrentCompanyWechat currentCompanyWechat = commonLogic.getCurrentCompanyWechat();
         if(CollectionUtils.isEmpty(list)) {