package com.xintong.visualinspection.service.impl;

import com.xintong.visualinspection.bean.Item;
import com.xintong.visualinspection.dao.cluster.ItemDao;
import com.xintong.visualinspection.service.BaseService;
import com.xintong.visualinspection.service.ItemService;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 文件名：UserServiceImpl 版本信息：日期：2017/3/30 Copyright 江苏省交通规划设计院 Corporation 2017
 * 版权所有.
 */
@com.alibaba.dubbo.config.annotation.Service(
        version = "1.0.0",
        application = "${dubbo.application.id}",
        protocol = "${dubbo.protocol.id}",
        registry = "${dubbo.registry.id}"
)
@Service
public class ItemServiceImpl extends BaseService implements ItemService {

	private static final org.slf4j.Logger logger = LoggerFactory.getLogger(ItemService.class);

	@Autowired
	private ItemDao itemDao;

	@Override
	public List<Item> getAll() {

		return itemDao.getAll();
	}

	@Override
	public List<String> getCheckItemName(Long aLong) {
		return itemDao.getCheckItemName(aLong);
	}

}
