| | |
| | | package com.yuanchu.mom; |
| | | |
| | | import com.yuanchu.mom.mapper.ManufactureOrderMapper; |
| | | import com.yuanchu.mom.utils.MyUtil; |
| | | import com.yuanchu.mom.mapper.ManualTechnologyMapper; |
| | | import com.yuanchu.mom.pojo.ManualTechnology; |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | |
| | | @SpringBootTest |
| | | class SystemRunApplicationTest { |
| | | |
| | | @Resource |
| | | private ManufactureOrderMapper manufactureOrderMapper; |
| | | 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); |
| | | } |
| | | } |