package com.ylx.massage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ylx.massage.mapper.TSignMapper;
import com.ylx.massage.domain.TSign;
import com.ylx.massage.service.TSignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * 签到表(TSign)表服务实现类
 *
 * @author makejava
 * @since 2024-08-12 10:52:25
 */
@Service("tSignService")
public class TSignServiceImpl extends ServiceImpl<TSignMapper, TSign> implements TSignService {

    @Autowired
    private TSignMapper tSignMapper;

    @Override
    public Integer getOnLineTime(String jsId, Date startDate, Date endDate) {

        return tSignMapper.getOnLineTime(jsId,startDate,endDate);

    }
}

