package com.gkhy.safePlatform.account.repository.schedule; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.safePlatform.account.entity.schedule.WorkTimeGroupAndPeriodRelationInfo; import com.gkhy.safePlatform.account.entity.schedule.WorkTimePeriodRelationDO; import com.gkhy.safePlatform.account.model.dto.resp.WorkTimeGroupAndPeriodRelationRespDTO; import com.gkhy.safePlatform.account.model.dto.resp.WorkTimePeriodRelationRespDTO; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface WorkTimeGroupAndPeriodRelationInfoRepository extends BaseMapper { /** * 查询 * @param wtdi * @return */ List getWorkTimeGroupAndPeriodRelation(WorkTimeGroupAndPeriodRelationInfo wtdi); /** * 根据工作时间组id 物理删除 * @param workTimeGroupId * @return */ int deleteWtgAprByWorkTimeGroupId(Long workTimeGroupId); /** * 获取工作时间关系表和时间段关联的信息 * @return */ List getWorkTimePeriodRelation(WorkTimeGroupAndPeriodRelationInfo workTimeGroupAndPeriodRelationInfo); }