package com.ssj.service.conch.conch.service;

import com.ssj.bean.conch.conch.domain.ConchDerver;
import com.ssj.bean.conch.conch.domain.ConchDerverUseRecord;
import com.ssj.bean.conch.conch.domain.SmarttimePicture;
import com.ssj.bean.sys.appinfo.bean.AppInfo;
import com.ssj.bean.sys.homework.domain.Homework;
import com.ssj.bean.weixin.libmy.domain.LibVip;
import com.ssj.framework.core.common.service.BaseService;
import com.ssj.framework.core.security.exception.ConchException;
import com.ssj.framework.core.util.ResponseEntity;
import com.ssj.service.conch.conch.request.ConchInitInfoRequest;
import com.ssj.service.conch.conch.request.ConchUploadHomeworkRequest;
import com.ssj.service.conch.conch.request.HomeworkCheckInReq;
import com.ssj.service.conch.conch.request.LocationReqNew;
import com.ssj.service.conch.conch.vo.HomeworkFeedbackVO;
import com.ssj.service.conch.conch.vo.HomeworkFeedbackVO3;
import com.ssj.service.conch.conch.vo.HomeworkFeedbackVO4;
import com.ssj.service.conch.conch.vo.HomeworkVO;

import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * @author Mount Liu
 * @date 2019/7/30
 */
public interface ConchDerverUseRecordService extends BaseService<ConchDerverUseRecord, String> {

    /**
     * 查询用户使用小塾记录
     *
     * @param userId
     * @param derver
     * @return
     */
    ConchDerverUseRecord findByUserIdAndDerver(String userId, String derver);

    /**
     * 查询某天服务失效的记录
     *
     * @param oneDay
     * @return
     */
    List<ConchDerverUseRecord> findOneDayInvalidRecord(Date oneDay);

}
