package cn.ezhizao.project.business.deduct.service.impl;

import java.util.List;
import javax.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.deduct.mapper.BizDeductMapper;
import cn.ezhizao.project.business.deduct.domain.BizDeduct;
import cn.ezhizao.project.business.deduct.service.IBizDeductService;

/**
 * 扣款记录Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-13
 */
@Service
public class BizDeductServiceImpl  extends ServiceImpl<BizDeductMapper, BizDeduct> implements IBizDeductService
{
    @Resource
    private BizDeductMapper bizDeductMapper;

    /**
     * 查询扣款记录列表
     *
     * @param bizDeduct 扣款记录
     * @return 扣款记录
     */
    @Override
    public List<BizDeduct> getList(BizDeduct bizDeduct)
    {
        return bizDeductMapper.getList(bizDeduct);
    }

    /**
     * 物理删除
     * @param bizDeduct
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizDeduct bizDeduct){ return bizDeductMapper.physicalDelete(bizDeduct); };

}
