Merge remote-tracking branch 'origin/main'

This commit is contained in:
liuzhaotian
2024-09-25 10:35:07 +08:00
12 changed files with 693 additions and 458 deletions
@@ -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() {