|
|
|
@ -402,7 +402,7 @@ public class FunctionXTestServiceImpl extends ServiceImpl<FunctionxTestMapper, F |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if (StringUtils.isNotBlank(managerUsers)) { // 责任人
|
|
|
|
|
String[] splitManager = managerUsers.split("\\s+|,|;|、"); |
|
|
|
|
String[] splitManager = managerUsers.split("\\s+|,|;|、|,"); |
|
|
|
|
|
|
|
|
|
int count = 1; |
|
|
|
|
String idManager = ""; |
|
|
|
@ -697,7 +697,12 @@ public class FunctionXTestServiceImpl extends ServiceImpl<FunctionxTestMapper, F |
|
|
|
|
webSocketUtils.sendMessage(loginUser.getId(), message); |
|
|
|
|
for (int i = 0; i < listInsert.size(); i++) { |
|
|
|
|
try { |
|
|
|
|
Thread.sleep(1000L); |
|
|
|
|
if (listInsert.size()<10) |
|
|
|
|
Thread.sleep(1000L); |
|
|
|
|
else if (listInsert.size()<50) |
|
|
|
|
Thread.sleep(500L); |
|
|
|
|
else if (listInsert.size()>=50) |
|
|
|
|
Thread.sleep(200L); |
|
|
|
|
message.put("uploaded", String.valueOf(i + 1)); |
|
|
|
|
boolean isSuccessInsert = functionxService.save(listInsert.get(i)); |
|
|
|
|
if (!isSuccessInsert) { |
|
|
|
|