zss
2023-09-25 44a9b4729e058e75dfba2892803038ee91963d77
system-run/src/test/java/com/yuanchu/mom/SystemRunApplicationTest.java
@@ -1,28 +1,22 @@
package com.yuanchu.mom;
import com.yuanchu.mom.mapper.ManualTechnologyMapper;
import com.yuanchu.mom.pojo.ManualTechnology;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.yuanchu.mom.Task.SyncOrder;
import com.yuanchu.mom.pojo.RawInspect;
import com.yuanchu.mom.pojo.Sale;
import com.yuanchu.mom.pojo.SaleMaterial;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import javax.annotation.Resource;
import java.util.*;
import java.util.stream.Collectors;
@SpringBootTest
class SystemRunApplicationTest {
    @Resource
    private ManualTechnologyMapper manualTechnologyMapper;
    @Test
    void contextLoads() {
        ManualTechnology manualTechnology = new ManualTechnology()
                .setTechname("tets")
                .setTechfather("test")
                .setDeviceGroup("grop")
                .setDeviceId(1)
                .setTechnologyId(2)
                .setManufactureOrderId(1)
                .setSchedulingNumber(12);
        manualTechnologyMapper.insert(manualTechnology);
    }
}