1、任务、规则、配置添加更新查询审核意见接口

(cherry picked from commit 826e0249cc)
This commit is contained in:
PushM
2024-05-09 18:25:49 +08:00
parent 6075388ee8
commit 8cc0af06a1
31 changed files with 715 additions and 4 deletions

View File

@@ -166,4 +166,14 @@ class ProtectObjectServiceTest extends ProtectionApplicationTests {
int finalTestNum = testNum;
assertThrows(IllegalArgumentException.class, () -> protectObjectService.changeProtectObjectAuditStatus(finalTestNum, 2));
}
@Test
void updateAuditInfo() {
List<ProtectObject> protectObjectList = protectObjectService.queryProtectObjects(null, null, null, null, null, null, null, null, null, null, 1, 1);
List<Integer> idList = new ArrayList<>();
idList.add(protectObjectList.get(0).getProtectObjectId());
System.out.println(idList);
assertTrue(protectObjectService.updateAuditInfo( idList, "test"));
assertEquals("test", protectObjectService.queryAuditInfo(idList.get(0)));
}
}