| | |
| | | import org.jeecg.modules.mdcJc.entity.ClassMonthlyschedule; |
| | | import org.jeecg.modules.mdcJc.entity.MdcClassMonthlyschedule; |
| | | import org.jeecg.modules.mdcJc.mapper.MdcClassMonthlyscheduleMapper; |
| | | import org.jeecg.modules.mdcJc.service.IClassMonthlyscheduleService; |
| | | import org.jeecg.modules.mdcJc.service.IClassMonthlyScheduleService; |
| | | import org.jeecg.modules.mdcJc.service.IMdcClassMonthService; |
| | | import org.jeecg.modules.utils.BeanMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | public class MdcClassMonthServiceImpl extends ServiceImpl<MdcClassMonthlyscheduleMapper,MdcClassMonthlyschedule> implements IMdcClassMonthService { |
| | | |
| | | @Autowired |
| | | private IClassMonthlyscheduleService classMonthlyscheduleService; |
| | | private IClassMonthlyScheduleService classMonthlyScheduleService; |
| | | |
| | | @Override |
| | | public boolean saveOrUpdateClassMonthSchedule() { |
| | | String date = DateUtils.format(DateUtils.getNow(),DateUtils.STR_YEAR_MONTH); |
| | | List<ClassMonthlyschedule> list = classMonthlyscheduleService.findListClass(date); |
| | | List<ClassMonthlyschedule> list = classMonthlyScheduleService.findListClass(date); |
| | | if (list == null || list.isEmpty()) { |
| | | return true; |
| | | } |