package com.jiayue.insu.inclientqn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiayue.insu.inclientqn.entity.Record;

import java.time.LocalDateTime;

/**
 * 数据记录业务接口
 *
 * @author yh
 * @version 1.0
 * @since 2022/5/22 11:29
 */
public interface RecordService extends IService<Record> {

    /**
     * 查询记录
     *
     * @param time  时间
     * @param type  日志类型
     * @param state 状态
     * @return
     */
    Record findTimeAndTypeAndState(LocalDateTime time, String type, String state);

    Record findTimeAndTypeAndContentAndState(LocalDateTime time, String type, String content, String state);

    Record findTimeAndTypeAndStateAndStationCode(LocalDateTime time, String type, String state, String StationCode);

    Record findTimeAndTypeAndContentAndStateAndStationCode(LocalDateTime time, String type, String content, String state,String StationCode);


}
