| | |
| | | import com.sinata.RuoYiApplication; |
| | | import com.sinata.system.mapper.SysDepartmentMapper; |
| | | import com.sinata.system.service.ISysDictTypeService; |
| | | import com.sinata.system.service.SysDepartmentService; |
| | | import com.sinata.system.service.biz.TaskService; |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | |
| | |
| | | private SysDepartmentMapper departmentMapper; |
| | | @Resource |
| | | private ISysDictTypeService sysDictTypeService; |
| | | @Resource |
| | | private TaskService taskService; |
| | | |
| | | @Resource |
| | | private SysDepartmentService sysDepartmentService; |
| | | |
| | | @Test |
| | | public void test(){ |
| | |
| | | |
| | | System.out.println(sysDictTypeService.list()); |
| | | } |
| | | |
| | | @Test |
| | | public void testTask() { |
| | | taskService.checkoutOverTime(); |
| | | } |
| | | |
| | | @Test |
| | | public void test3() { |
| | | System.out.println(sysDepartmentService.getRegionName(sysDepartmentService.getById(21))); |
| | | } |
| | | } |