package com.ejweb.modules.front.sso.service;

import com.ejweb.core.service.CrudService;
import com.ejweb.modules.front.sso.dao.SsoDao;
import com.ejweb.modules.front.sso.entity.SsoEntity;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by zhangzn on 2017/09/13.
 */

@Service
@Transactional(readOnly = true)
public class SsoService extends CrudService<SsoDao, SsoEntity> {

    // 添加举报信息
    public int checkSso(String username) {
        return dao.checkSso(username);
    }
}
