package com.jjt.wk;

import com.jjt.JjtApplication;
import com.jjt.common.utils.DateUtils;
import com.jjt.emp.service.ITwinEmpCalcService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.util.Date;

/**
 * DataProcess$
 *
 * @author wukai
 * @date 2024/5/7 11:49
 */
@SpringBootTest(classes = JjtApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class EmpCalcTest {
    @Resource
    private ITwinEmpCalcService empCalcService;

    @Test
    public void test() {
        String s = "2025-05-16";
        Date date = DateUtils.parseDate(s);
        empCalcService.calcNew(date);
    }
}

