package com.gkhy.safePlatform.account.service.baseService.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.gkhy.safePlatform.account.entity.schedule.ScheduleAllYearDateInfo; import com.gkhy.safePlatform.account.model.dto.resp.ScheduleAllYearDateRespDTO; import com.gkhy.safePlatform.account.repository.schedule.ScheduleAllYearDateRepository; import com.gkhy.safePlatform.account.service.baseService.ScheduleAllYearDateService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service("scheduleAllYearDateService") public class ScheduleAllYearDateServiceImpl extends ServiceImpl implements ScheduleAllYearDateService { @Autowired private ScheduleAllYearDateRepository scheduleAllYearDateRepository; /** * 更新 * @param scheduleAllYearDateInfo * @return */ @Override public int updateScheduleAllYearDate(ScheduleAllYearDateInfo scheduleAllYearDateInfo) { return scheduleAllYearDateRepository.updateById(scheduleAllYearDateInfo); } /** * 条件查询日期信息 */ public List getScheduleAllYearDate(ScheduleAllYearDateInfo scheduleAllYearDateInfo){ return scheduleAllYearDateRepository.getScheduleAllYearDate(scheduleAllYearDateInfo); } }