package com.elephant.framework.galaxy.aroad.module.zhjs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.elephant.framework.galaxy.aroad.module.zhjs.entity.ZhjsToken;
import com.elephant.framework.galaxy.aroad.module.zhjs.mapper.ZhjsTokenMapper;
import com.elephant.framework.galaxy.aroad.module.zhjs.service.ZhjsTokenService;
import lombok.AllArgsConstructor;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * 
 *
 * @author wangjian
 * @date 2019-05-17 17:00:41
 */
@Service
@AllArgsConstructor
public class ZhjsTokenServiceImpl extends ServiceImpl<ZhjsTokenMapper, ZhjsToken> implements ZhjsTokenService {

    final ZhjsTokenMapper zhjsTokenMapper;

    /**
     * 更新token
     */
    public void setZhjsToken(String token,ZhjsToken zhjsToken) {
        zhjsTokenMapper.setZhjsToken(token,zhjsToken);
    }
}
