package com.rongwei.sfcommon.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rongwe.scentity.domian.AspSafetyMeeting;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AspSafetyMeetingDao extends BaseMapper<AspSafetyMeeting> {
    @Select("select * from asp_safety_meeting where DELETED = 0 AND MEETINGDATE >= CURDATE() AND MEETINGDATE <= DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 1 DAY),'%Y-%m-%d 23:59:59') AND ISSTAGING = 1")
    List<AspSafetyMeeting> selectNeedReportMessage();
}