cloudroam
2024-10-22 f2846e7b5bcdc041fcb77dfec1ca6a164ca30aa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author @TaoJie
 * @since 2024-10-22
 */
public interface WalletMapper extends BaseMapper<WalletDO> {
 
 
    @Select("select total_amount as totalAmount from t_wallet where supplier_id =#{supplierId}")
    public BigDecimal getTotalAmount(String supplierId);
}