package com.zg.project.wisdom.service.impl;

import com.zg.project.wisdom.domain.RkBill;
import com.zg.project.wisdom.mapper.RkBillMapper;
import com.zg.project.wisdom.service.IRkBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RkBillServiceImpl implements IRkBillService {

    @Autowired
    private RkBillMapper rkBillMapper;

    @Override
    public List<RkBill> selectRkBillList(RkBill rkBill) {
        return rkBillMapper.selectRkBillList(rkBill);
    }

    @Override
    public RkBill selectRkBillById(Long id) {
        return rkBillMapper.selectRkBillById(id);
    }

    @Override
    public int insertRkBill(RkBill rkBill) {
        return rkBillMapper.insertRkBill(rkBill);
    }

    @Override
    public int updateRkBill(RkBill rkBill) {
        return rkBillMapper.updateRkBill(rkBill);
    }

    @Override
    public int logicDeleteRkBillByIds(Long[] ids) {
        return rkBillMapper.logicDeleteRkBillByIds(ids);
    }
}
