package com.iamberry.wechat.service.lease;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iamberry.wechat.core.entity.machine.MachineDto;
import com.iamberry.wechat.core.entity.machine.MachineShareRecord;
import com.iamberry.wechat.face.lease.LeaseMachineService;
import com.iamberry.wechat.service.mapper.LeaseMachineMapper;

@Service
public class LeaseMachineServiceImpl implements LeaseMachineService {
	
	@Autowired
	private LeaseMachineMapper leaseMachineMapper;

	@Override
	public List<MachineDto> selectMachineList(MachineDto machineDto) {
		// TODO Auto-generated method stub
		return leaseMachineMapper.selectMachineList(machineDto);
	}

	@Override
	public Integer insertShareRecord(MachineShareRecord machineShare) {
		// TODO Auto-generated method stub
		return leaseMachineMapper.insertShareRecord(machineShare);
	}

	
}
