From 6d08eec100243e0be59a207d57ab4db7974e51e4 Mon Sep 17 00:00:00 2001
From: yangbin <yangbin@qq.com>
Date: 星期一, 29 七月 2024 15:26:26 +0800
Subject: [PATCH] Merge branch 'master' of http://117.34.109.166:18448/r/mdc_yituo

---
 lxzn-module-system/lxzn-system-start/src/test/java/org/jeecg/modules/mdcJc/MesTest.java |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-start/src/test/java/org/jeecg/modules/mdcJc/MesTest.java b/lxzn-module-system/lxzn-system-start/src/test/java/org/jeecg/modules/mdcJc/MesTest.java
new file mode 100644
index 0000000..bc2ebd8
--- /dev/null
+++ b/lxzn-module-system/lxzn-system-start/src/test/java/org/jeecg/modules/mdcJc/MesTest.java
@@ -0,0 +1,45 @@
+package org.jeecg.modules.mdcJc;
+
+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.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.junit4.SpringRunner;
+
+/**
+ * @author clown
+ * * @date 2024/7/16
+ */
+@RunWith(SpringRunner.class)
+@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,classes = JeecgSystemApplication.class)
+public class MesTest {
+    @Autowired
+    private IClassMonthlyscheduleService mesInfoInMdcService;
+    @Autowired
+    private IMdcClassMonthService mdcClassMonthService;
+    @Autowired
+    private IMdcProductMonthScheduleService mdcProductMonthScheduleService;
+
+    @Test
+    public void scheduleProductMonthList() {
+        mdcProductMonthScheduleService.scheduleProductMonthList();
+    }
+
+
+    @Test
+    public void classMonthSchedule() {
+        mdcClassMonthService.saveOrUpdateClassMonthSchedule();
+    }
+
+    @Test
+    public void testQuery() {
+        String date = DateUtils.format(DateUtils.getNow(),DateUtils.STR_YEAR_MONTH);
+
+        mesInfoInMdcService.findListClass(date);
+    }
+}

--
Gitblit v1.9.3