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

import cn.ezhizao.project.business.salary.domain.BizFinancialSalary;
import cn.ezhizao.project.business.salary.mapper.BizFinancialSalaryMapper;
import cn.ezhizao.project.business.salary.service.IBizFinancialSalaryService;
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-16
 */
@Service
public class BizFinancialSalaryServiceImpl  extends ServiceImpl<BizFinancialSalaryMapper, BizFinancialSalary> implements IBizFinancialSalaryService
{
    @Resource
    private BizFinancialSalaryMapper bizFinancialSalaryMapper;

    /**
     * 查询工资列表
     *
     * @param bizFinancialSalary 工资
     * @return 工资
     */
    @Override
    public List<BizFinancialSalary> getList(BizFinancialSalary bizFinancialSalary)
    {
        return bizFinancialSalaryMapper.getList(bizFinancialSalary);
    }

    /**
     * 物理删除
     * @param bizFinancialSalary
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizFinancialSalary bizFinancialSalary){ return bizFinancialSalaryMapper.physicalDelete(bizFinancialSalary); };

}
