package com.ssj.service.weixin.library.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ssj.bean.weixin.libmy.domain.TbLibLoginInfo;
import com.ssj.dao.weixin.library.dao.TbLibLoginInfoDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.library.service.TbLibLoginInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * @author yanghuan
 * @title: TbLibLoginInfoServiceImpl
 * @projectName ssj
 * @description: TODO
 * @date 2019/8/15 16:17
 */
@Service(version="1.0")
public class TbLibLoginInfoServiceImpl extends BaseServiceImpl<TbLibLoginInfo, String> implements TbLibLoginInfoService {

    @Autowired
    private TbLibLoginInfoDao dao;


    @Override
    public PagingAndSortingRepository<TbLibLoginInfo, String> getDao() {
        return dao;
    }
    @Override
    public void updateTbLibLoginInfoByLogoutTime(String logoutTime,String date,String teacherId){
        dao.updateTbLibLoginInfoByLogoutTime(logoutTime,date,teacherId);

    }
}
