package com.rongwei.bscommon.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rongwei.bsentity.domain.EquFrockListDo;
import com.rongwei.bsentity.domain.EquFrockTestRecordDo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EquFrockTestRecordDao extends BaseMapper<EquFrockTestRecordDo> {
    @Select("select ID,FROCKNUM from equ_frock_list where DELETED='0'")
    List<EquFrockListDo> getAllFrocknum();

    @Select("select FROCKNUM,DATE(TESTDATE) as TESTDATE from equ_frock_test_record where DELETED='0'")
    List<EquFrockTestRecordDo> getFrockRecord();
}
