package com.yeejoin.amos.boot.module.ymt.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.ymt.api.dto.UseInfoModel;
import com.yeejoin.amos.boot.module.ymt.api.entity.UseInfo;

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

/**
 * 特种设备基本信息-使用信息 Mapper 接口
 *
 * @author Zhang Yingbin
 * @date 2022-07-19
 */
public interface UseInfoMapper extends BaseMapper<UseInfo> {

  List<UseInfoModel> selecEquipInfotList(List<String>types, List<String>statusList, Date date,Date curDate);

  void updateByRecord(String record, Date nextInspectDate, String lastInspectType, String lastInspectReportNo);
}
