xml字段对应验证

This commit is contained in:
lym
2024-09-24 17:54:08 +08:00
parent 6f5bd90c0d
commit 71ce80769a
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() {