haoshihao 1 month ago
parent
commit
6fd66f1910
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/juxin/client/websocket/FindTask.java

+ 1 - 1
src/main/java/com/juxin/client/websocket/FindTask.java

@@ -407,8 +407,8 @@ public class FindTask {
         req.put("recordId", jsonObject.get("groupId"));
         req.put("groupId", jsonObject.get("groupId"));
         String jobState = status[RandomUtil.randomInt(0, 6)];
+        req.put("jobState", jobState);
         if (Objects.equals(jobState, "success")) {
-            req.put("jobState", jobState);
             List<Map<String, String>> split = new ArrayList<>();
             List<Map<String, String>> list = jsonObject.get("list", List.class);
             list.forEach(e -> {