package com.mzl.flower.mapper.wallet; import com.mzl.flower.entity.wallet.WalletDO; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Select; import java.math.BigDecimal; /** *

* Mapper 接口 *

* * @author @TaoJie * @since 2024-10-22 */ public interface WalletMapper extends BaseMapper { @Select("select total_amount as totalAmount from t_wallet where supplier_id =#{supplierId}") public BigDecimal getTotalAmount(String supplierId); }