puzhibing
2026-09-28 ac5dac6c7c45e4c2ecf3cc7ccebac78d65ca9141
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/TChargingCardService.java
@@ -4,7 +4,6 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.account.api.dto.ChargingCardAllocateDTO;
import com.ruoyi.account.api.dto.ChargingCardAuthDTO;
import com.ruoyi.account.api.dto.ChargingCardBalanceDTO;
import com.ruoyi.account.api.dto.ChargingCardDeductDTO;
import com.ruoyi.account.api.dto.ChargingCardExcelDTO;
import com.ruoyi.account.api.dto.ChargingCardQueryDTO;
@@ -28,8 +27,6 @@
    boolean updateStatus(ChargingCardStatusDTO dto);
    boolean updateBalance(ChargingCardBalanceDTO dto);
    /**
     * 额度分配概览:公司可分配余额(available_balance)与总账户余额(累计充值到账)。
     * 仅分配模式(account_mode=2)的公司可执行额度分配。
@@ -44,7 +41,7 @@
     * 校验公司为启用且分配模式、卡片归属该公司且未在充电,禁止透支;
     * 每张卡片写入余额变更流水,失败时回滚并退还公司已扣金额。
     *
     * @param dto 分配参数(公司、卡片明细、备注、操作密码)
     * @param dto 分配参数(公司、卡片明细、备注)
     * @return 分配后的公司概览(可分配余额为最新值)
     */
    ChargingCardAllocateVO allocateQuota(ChargingCardAllocateDTO dto);