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

import cn.ezhizao.project.business.paymentEntry.domain.BizPaymentSubject;
import cn.ezhizao.project.business.paymentEntry.mapper.BizPaymentSubjectMapper;
import cn.ezhizao.project.business.paymentEntry.service.IBizPaymentSubjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 支出科目Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-28
 */
@Service
public class BizPaymentSubjectServiceImpl extends ServiceImpl<BizPaymentSubjectMapper, BizPaymentSubject> implements IBizPaymentSubjectService
{
    @Resource
    private BizPaymentSubjectMapper bizPaymentSubjectMapper;

    /**
     * 查询支出科目列表
     *
     * @param bizPaymentSubject 支出科目
     * @return 支出科目
     */
    @Override
    public List<BizPaymentSubject> getList(BizPaymentSubject bizPaymentSubject)
    {
        return bizPaymentSubjectMapper.getList(bizPaymentSubject);
    }

    /**
     * 物理删除
     * @param bizPaymentSubject
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizPaymentSubject bizPaymentSubject){ return bizPaymentSubjectMapper.physicalDelete(bizPaymentSubject); };

}
