package com.fdkankan.ucenter.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fdkankan.ucenter.entity.ContactUsPoint;
import com.fdkankan.ucenter.mapper.IContactUsPointMapper;
import com.fdkankan.ucenter.service.IContactUsPointService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2025-10-21
 */
@Service
public class ContactUsPointServiceImpl extends ServiceImpl<IContactUsPointMapper, ContactUsPoint> implements IContactUsPointService {

    @Override
    public ContactUsPoint getBySessionId(String sessionId) {
        LambdaQueryWrapper<ContactUsPoint> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(ContactUsPoint::getSessionId,sessionId);
        return this.getOne(wrapper);
    }
}
