owl-cli 6.180.0 → 6.182.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -798,20 +798,21 @@ var @projectCodeService = (function (pigeon) {
798
798
  params:JSON.stringify(env.params),
799
799
  taskId:null
800
800
  }
801
+ taskInfo.taskId = '';
802
+
803
+ owl_task_infoService.add(taskInfo);
801
804
  //这个key如果不多加一个export,会把原有的单据数据覆盖
802
805
  // var taskInfoId = objPrefix + '_export_' + pigeon.getId()
803
806
  var taskId = JobsService.submitExportTask('@projectCode', 'tasks/export.jsx', {
804
807
  query: query,
805
808
  env: env,
806
- taskInfoId: taskInfoId,
809
+ taskInfoId:taskInfo.id
807
810
  }, now)
808
- taskInfo.taskId = '' + taskId
809
- // taskInfo.id = taskInfoId
810
- // var key = pigeon.getRKey(taskInfo.submitTime, 13)
811
- // pigeon.addToList(f.getExportRunningList(), key, taskInfoId)
812
- // pigeon.saveObject(taskInfoId, taskInfo)
813
- owl_task_infoService.add(taskInfo);
814
811
 
812
+
813
+ taskInfo = owl_task_infoService.get(taskInfo.id);
814
+ taskInfo.taskId = taskId;
815
+ owl_task_infoService.update(taskInfo);
815
816
  return taskInfo.id
816
817
  },
817
818
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.180.0",
3
+ "version": "6.182.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {