package com.ylx.point.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ylx.point.domain.PointUserSignStatus;
import com.ylx.point.mapper.PointUserSignStatusMapper;
import com.ylx.point.service.IPointUserSignStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 用户签到状态快照Service业务层处理
 *
 * @author wzj
 * @date 2026-03-25
 */
@Service
public class PointUserSignStatusServiceImpl extends ServiceImpl<PointUserSignStatusMapper, PointUserSignStatus> implements IPointUserSignStatusService {
    @Resource
    private PointUserSignStatusMapper pointUserSignStatusMapper;

    @Override
    public PointUserSignStatus selectByOpenIdAndActivityIdForUpdate(String openId, Long activityId) {
        return pointUserSignStatusMapper.selectByOpenIdAndActivityIdForUpdate(openId, activityId);
    }
}
