package com.ruoyi.web.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.common.core.text.Convert;
import com.ruoyi.common.utils.SecurityUtils;
import org.springframework.stereotype.Service;
import com.ruoyi.web.mapper.DealInfoMapper;
import com.ruoyi.web.domain.DealInfo;
import com.ruoyi.web.service.IDealInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.math.BigDecimal;
import java.util.List;

/**
 * 交易信息Service业务层处理
 * 
 * @author shenzx
 * @date 2025-09-23
 */
@Service
public class DealInfoServiceImpl extends ServiceImpl<DealInfoMapper, DealInfo> implements IDealInfoService {

    @Override
    public BigDecimal grye() {
        return Convert.toBigDecimal(this.baseMapper.grye(SecurityUtils.getUserId()));
    }
}
