Lius
2024-12-31 c8673cbde4538b109e43042dc93cf33c46dca37e
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdcJc/service/impl/MesInfoInMdcServiceImpl.java
@@ -4,7 +4,7 @@
import org.jeecg.modules.mdc.util.DateUtils;
import org.jeecg.modules.mdcJc.entity.ClassMonthlyschedule;
import org.jeecg.modules.mdcJc.entity.MdcClassMonthlyschedule;
import org.jeecg.modules.mdcJc.service.IClassMonthlyscheduleService;
import org.jeecg.modules.mdcJc.service.IClassMonthlyScheduleService;
import org.jeecg.modules.mdcJc.service.IMesInfoInMdcService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -22,12 +22,12 @@
public class MesInfoInMdcServiceImpl implements IMesInfoInMdcService {
    @Autowired
    private IClassMonthlyscheduleService classMonthlyscheduleService;
    private IClassMonthlyScheduleService classMonthlyScheduleService;
    @Override
    public List<MdcClassMonthlyschedule> mesClass() {
        String date = DateUtils.format(DateUtils.getNow(),DateUtils.STR_YEAR_MONTH);
        List<ClassMonthlyschedule> list = classMonthlyscheduleService.findListClass(date);
        List<ClassMonthlyschedule> list = classMonthlyScheduleService.findListClass(date);
        List<MdcClassMonthlyschedule> mesC = new ArrayList<>();
        BeanUtils.copyProperties(list,mesC);
        return mesC;