package com.xjrsoft.module.liteflow.node;

import cn.hutool.core.convert.Convert;
import com.xjrsoft.XjrSoftApplication;
import com.xjrsoft.module.student.service.IStudentLeaveService;
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 java.util.Map;

import static org.junit.jupiter.api.Assertions.*;

/**
 * @author dzx
 * @date 2024/5/21
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = XjrSoftApplication.class)
class StudentLeaveNodeTest {
    @Autowired
    private IStudentLeaveService studentLeaveService;

    @Test
    public void process() throws Exception {
        // 获取表单中数据编号
        Long formId = 1779431620300816384L;
        if (formId != null) {
            // 数据处理
            studentLeaveService.hikvisionLeave(formId);
        }
    }
}