package com.xintong.visualinspection.service.impl;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

import com.xintong.visualinspection.bean.Constant;
import com.xintong.visualinspection.bean.Permission;
import com.xintong.visualinspection.bean.User;
import com.xintong.visualinspection.dao.cluster.UserInfoDao;
import com.xintong.visualinspection.dao.master.PermissionDao;
import com.xintong.visualinspection.dao.master.UserDao;
import com.xintong.visualinspection.service.BaseService;
import com.xintong.visualinspection.service.ConstantService;

/**
 * 文件名：UserServiceImpl
 * 版本信息：日期：2017/3/30 Copyright 江苏省交通规划设计院 Corporation 2017 版权所有.
 */
@Service
public class ConstantServiceImpl extends BaseService implements ConstantService {

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


    @Autowired
    private UserDao userDao;


	public List getAll() {
		// TODO Auto-generated method stub
		return null;
	}


	public Constant getById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}


	public List getByFlag() {
		// TODO Auto-generated method stub
		return null;
	}


	public Constant getByFlagAndValue(String flag, int value) {
		// TODO Auto-generated method stub
		return null;
	}


	public void insert(Constant constant) {
		// TODO Auto-generated method stub
		int i = 1/0;
	}


	public void update(Constant constant) {
		// TODO Auto-generated method stub
		
	}


	public void delete(Long id) {
		// TODO Auto-generated method stub
		
	}
    
}
