package com.iamberry.cms.service.milk;

import java.util.List;

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

import com.iamberry.cms.core.entity.MilkMakingRecord;
import com.iamberry.cms.face.milk.MilkMakingRecordService;
import com.iamberry.cms.service.mapper.MilkMakingRecordMapper;

@Service
public class MilkMakingRecordServiceImpl implements MilkMakingRecordService{
	@Autowired
	private MilkMakingRecordMapper milkMakingRecordMapper;
	
	@Override
	public List<MilkMakingRecord> selectAllMilk(
			MilkMakingRecord milkMakingRecord) {
		// TODO Auto-generated method stub
		return milkMakingRecordMapper.selectAllMilk(milkMakingRecord);
	}

	@Override
	public Integer deleteMilk(String id) {
		// TODO Auto-generated method stub
		return	milkMakingRecordMapper.deleteMilk(id);
	}

	@Override
	public Integer selectAllMilkNumber(MilkMakingRecord milkMakingRecord) {
		// TODO Auto-generated method stub
		return milkMakingRecordMapper.selectAllMilkNumber(milkMakingRecord);
	}

}
