package com.chinaitop.depot.intelligent.ventilation.service.impl;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.chinaitop.depot.intelligent.ventilation.mapper.StorageFoodbasicinfoMapper;
import com.chinaitop.depot.intelligent.ventilation.model.StorageFoodbasicinfo;
import com.chinaitop.depot.intelligent.ventilation.service.StorageFoodbasicInfoService;

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

/**
 * @author sunhongbing
 * @Date 2017/10/26
 */
@Service
@Transactional
public class StorageFoodbasicInfoServiceImpl implements StorageFoodbasicInfoService {
    @Resource
    private StorageFoodbasicinfoMapper foodbasicInfoMapper;


    @Override
    public List<StorageFoodbasicinfo> getByHouseIdAndWarehouseId(StorageFoodbasicinfo foodbasicInfo) {
        //设置保管员的名字
        List<StorageFoodbasicinfo> list = foodbasicInfoMapper.getFoodbasicInfoByHouseIdAndWarehouseId(foodbasicInfo);
        return list;
    }

}
