cloudroam
2024-10-22 f2846e7b5bcdc041fcb77dfec1ca6a164ca30aa7
src/main/java/com/mzl/flower/mapper/wallet/WalletMapper.java
@@ -2,6 +2,9 @@
import com.mzl.flower.entity.wallet.WalletDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import java.math.BigDecimal;
/**
 * <p>
@@ -13,4 +16,7 @@
 */
public interface WalletMapper extends BaseMapper<WalletDO> {
    @Select("select total_amount as totalAmount from t_wallet where supplier_id =#{supplierId}")
    public BigDecimal getTotalAmount(String supplierId);
}