1.
陶杰
2024-10-22 788a5990d19f3e3e6fd955fdadcf1c9304822213
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);
}