1. 修改TaskController中的setCommandJudged方式,现在它将直接修改t_command中的IS_JUDGED字段
2. queryCommandInfos方法现在添加了筛选条件以及分页查询
This commit is contained in:
@@ -86,7 +86,8 @@ class CommandServiceTest extends ProtectionApplicationTests {
|
||||
|
||||
@Test
|
||||
void queryCommandByUUID() {
|
||||
List<TaskCommandInfo> taskCommandInfos = commandService.queryCommandInfoByTaskId(30L);
|
||||
List<TaskCommandInfo> taskCommandInfos = commandService.queryCommandInfos(30L,
|
||||
null, null, null, null,1, 5);
|
||||
assertTrue(taskCommandInfos != null && !taskCommandInfos.isEmpty());
|
||||
|
||||
for (TaskCommandInfo taskCommandInfo : taskCommandInfos) {
|
||||
|
||||
Reference in New Issue
Block a user