| | |
| | | import org.jeecg.modules.mdcJc.entity.MdcProductMonthlyschedule; |
| | | import org.jeecg.modules.mdcJc.entity.ProductMonthlyschedule; |
| | | import org.jeecg.modules.mdcJc.mapper.MdcProductMonthScheduleMapper; |
| | | import org.jeecg.modules.mdcJc.service.IClassMonthlyscheduleService; |
| | | import org.jeecg.modules.mdcJc.service.IClassMonthlyScheduleService; |
| | | import org.jeecg.modules.mdcJc.service.IMdcProductMonthScheduleService; |
| | | import org.jeecg.modules.utils.BeanMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | public class MdcProductMonthScheduleServiceImp extends ServiceImpl<MdcProductMonthScheduleMapper,MdcProductMonthlyschedule> implements IMdcProductMonthScheduleService { |
| | | |
| | | @Autowired |
| | | private IClassMonthlyscheduleService classMonthlyscheduleService; |
| | | private IClassMonthlyScheduleService classMonthlyScheduleService; |
| | | |
| | | @Override |
| | | public boolean scheduleProductMonthList() { |
| | | String date = DateUtils.format(DateUtils.getNow(),DateUtils.STR_YEAR_MONTH); |
| | | List<ProductMonthlyschedule> list = classMonthlyscheduleService.findListProductMonth(date); |
| | | List<ProductMonthlyschedule> list = classMonthlyScheduleService.findListProductMonth(date); |
| | | if (list == null || list.isEmpty()) { |
| | | return true; |
| | | } |