package com.uas.finance.service.Impl;

import com.uas.finance.dao.EnterpriseDao;import com.uas.finance.model.Enterprise;import com.uas.finance.service.EnterpriseService;import com.uas.finance.dao.EnterpriseDao;
import com.uas.finance.model.Enterprise;
import com.uas.finance.service.EnterpriseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by hejq on 2017-11-24.
 */
@Service("EnterpriseService")
public class EnterpriseServiceImpl implements EnterpriseService {

    @Autowired
    private EnterpriseDao enterpriseDao;

    @Override
    public Enterprise findByEnuu(Long enuu) {
        return enterpriseDao.findOne(enuu);
    }
}
