|
@@ -338,6 +338,11 @@ public class SysExportServiceImpl implements SysExportService {
|
|
|
|
|
|
Integer num = 1;
|
|
Integer num = 1;
|
|
for (WmTask wmTask1 : wmTaskList2) {
|
|
for (WmTask wmTask1 : wmTaskList2) {
|
|
|
|
+ try {
|
|
|
|
+ Thread.sleep(100);
|
|
|
|
+ } catch (InterruptedException e) {
|
|
|
|
+ e.printStackTrace();
|
|
|
|
+ }
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
map.put("taskIndex", num++);
|
|
map.put("taskIndex", num++);
|
|
map.put("taskType", wmTaskTypeService.getById(wmTask1.getTaskTypeId()).getTaskTypeName());
|
|
map.put("taskType", wmTaskTypeService.getById(wmTask1.getTaskTypeId()).getTaskTypeName());
|
|
@@ -453,6 +458,11 @@ public class SysExportServiceImpl implements SysExportService {
|
|
|
|
|
|
Integer num = 1;
|
|
Integer num = 1;
|
|
for (WmTask wmTask1 : wmTaskList) {
|
|
for (WmTask wmTask1 : wmTaskList) {
|
|
|
|
+ try {
|
|
|
|
+ Thread.sleep(100);
|
|
|
|
+ } catch (InterruptedException e) {
|
|
|
|
+ e.printStackTrace();
|
|
|
|
+ }
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
map.put("taskIndex", num++);
|
|
map.put("taskIndex", num++);
|
|
map.put("taskType", wmTaskTypeService.getById(wmTask1.getTaskTypeId()).getTaskTypeName());
|
|
map.put("taskType", wmTaskTypeService.getById(wmTask1.getTaskTypeId()).getTaskTypeName());
|