Lius
2024-08-22 f59452ac384766a21500857e89928a8abc0e75b5
lxzn-module-system/lxzn-system-start/src/test/java/org/jeecg/modules/mdcJc/MesTest.java
@@ -2,9 +2,7 @@
import org.jeecg.JeecgSystemApplication;
import org.jeecg.modules.mdc.util.DateUtils;
import org.jeecg.modules.mdcJc.service.IClassMonthlyscheduleService;
import org.jeecg.modules.mdcJc.service.IMdcClassMonthService;
import org.jeecg.modules.mdcJc.service.IMdcProductMonthScheduleService;
import org.jeecg.modules.mdcJc.service.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
@@ -19,11 +17,20 @@
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,classes = JeecgSystemApplication.class)
public class MesTest {
    @Autowired
    private IClassMonthlyscheduleService mesInfoInMdcService;
    private IClassMonthlyScheduleService mesInfoInMdcService;
    @Autowired
    private IMdcClassMonthService mdcClassMonthService;
    @Autowired
    private IMdcProductMonthScheduleService mdcProductMonthScheduleService;
    @Autowired
    private IMdcProductDayScheduleService mdcProductDayScheduleService;
    @Autowired
    private IMdcOnLineQueueService mdcOnLineQueueService;
    @Autowired
    private IMdcUnderLineQueueService mdcUnderLineQueueService;
    @Test
    public void scheduleProductMonthList() {
@@ -42,4 +49,19 @@
        mesInfoInMdcService.findListClass(date);
    }
    @Test
    public void scheduleProductDayList() {
        mdcProductDayScheduleService.scheduleProductDayList();
    }
    @Test
    public void onLineQueueList() {
        mdcOnLineQueueService.saveOnLineQueueList();
    }
    @Test
    public void underLineQueueList() {
        mdcUnderLineQueueService.saveUnderLineQueue();
    }
}