mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
+10
-10
@@ -14,16 +14,16 @@ class MachineServiceImplTest {
|
||||
|
||||
@Resource
|
||||
private MachineService machineService;
|
||||
@Test
|
||||
void create() {
|
||||
OrganContextHolder.setOrganId(1L);
|
||||
for (int i = 0; i < 20; i++) {
|
||||
CuttingSaveReqVO saveReqVO = randomPojo(CuttingSaveReqVO.class);
|
||||
saveReqVO.setId(null);
|
||||
Long aLong = machineService.createCutting(saveReqVO);
|
||||
}
|
||||
|
||||
}
|
||||
// @Test
|
||||
// void create() {
|
||||
// OrganContextHolder.setOrganId(1L);
|
||||
// for (int i = 0; i < 20; i++) {
|
||||
// CuttingSaveReqVO saveReqVO = randomPojo(CuttingSaveReqVO.class);
|
||||
// saveReqVO.setId(null);
|
||||
// Long aLong = machineService.createCutting(saveReqVO);
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
@Test
|
||||
void update() {
|
||||
|
||||
Reference in New Issue
Block a user