package com.uas.platform.b2b.service.impl;

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

import com.uas.platform.b2b.dao.ReportConfigDao;
import com.uas.platform.b2b.service.ReportConfigService;

@Service
public class ReportConfigServiceImpl implements ReportConfigService {
	
	@Autowired
	private ReportConfigDao reportConfigDao;

	@Override
	public String getReportNameByEnuuAndPageName(Long enuu, String pagename) {
		return reportConfigDao.findReportConfigByEnuuAndPagename(enuu, pagename).getReportname();
	}

}
