Lius
2024-08-22 f59452ac384766a21500857e89928a8abc0e75b5
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdcJc/service/impl/MdcProductMonthScheduleServiceImp.java
@@ -5,7 +5,7 @@
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;
@@ -22,12 +22,12 @@
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;
        }