1234567891011121314151617181920212223242526272829303132 |
- package com.xjrsoft.module.liteflow.node;
- import com.xjrsoft.XjrSoftApplication;
- import com.xjrsoft.module.teacher.service.IWfTeacherleaveService;
- import org.junit.jupiter.api.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;
- import static org.junit.jupiter.api.Assertions.*;
- /**
- * @author dzx
- * @date 2024/5/21
- */
- @RunWith(SpringRunner.class)
- @SpringBootTest(classes = XjrSoftApplication.class)
- class WfTeacherleaveNodeTest {
- @Autowired
- private IWfTeacherleaveService wfTeacherleaveService;
- @Test
- public void process() throws Exception {
- // 获取表单中数据编号
- Long formId = 1848627799685918720L;
- if (formId != null) {
- // 数据处理
- wfTeacherleaveService.updateAttendancestatus(formId);
- }
- }
- }
|