package cn.ezhizao.project.business.paymentEntry.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.paymentEntry.domain.BizPaymentSubject;
import cn.ezhizao.project.business.paymentEntry.mapper.BizPaymentTypeMapper;
import cn.ezhizao.project.business.paymentEntry.domain.BizPaymentType;
import cn.ezhizao.project.business.paymentEntry.service.IBizPaymentTypeService;

/**
 * 支出类目Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-28
 */
@Service
public class BizPaymentTypeServiceImpl  extends ServiceImpl<BizPaymentTypeMapper, BizPaymentType> implements IBizPaymentTypeService
{
    @Resource
    private BizPaymentTypeMapper bizPaymentTypeMapper;

    /**
     * 查询支出类目列表
     *
     * @param bizPaymentType 支出类目
     * @return 支出类目
     */
    @Override
    public List<BizPaymentType> getList(BizPaymentType bizPaymentType)
    {
        return bizPaymentTypeMapper.getList(bizPaymentType);
    }

    /**
     * 物理删除
     * @param bizPaymentType
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizPaymentType bizPaymentType){ return bizPaymentTypeMapper.physicalDelete(bizPaymentType); };

}
