jsharmony-workflow 1.1.1 → 1.1.2

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.
@@ -50,7 +50,7 @@
50
50
  " where wkflow.wkflow_def_id = isnull((select wkflow_def_id from wkflow.wkflow_def where wkflow_def.wkflow_def_code=@wkflow_def_code),wkflow.wkflow_def_id) ",
51
51
  " and task.task_sts = 'COMPLETE' ",
52
52
  " and isnull(@dt_from, task.task_etstmp) <= task.task_etstmp ",
53
- " and isnull(@dt_to, task.task_etstmp) >= task.task_etstmp ",
53
+ " and isnull($addDays(@dt_to,1), task.task_etstmp) > task.task_etstmp ",
54
54
  " ) x group by wkflow_def_name, task_def_name ",
55
55
  " order by wkflow_def_name, task_def_name "
56
56
  ]
@@ -41,7 +41,7 @@
41
41
  " inner join wkflow.wkflow_def_state on wkflow_def_state.wkflow_def_state_id = wkflow_state.wkflow_def_state_id ",
42
42
  " where wkflow.wkflow_def_id = isnull((select wkflow_def_id from wkflow.wkflow_def where wkflow_def.wkflow_def_code=@wkflow_def_code),wkflow.wkflow_def_id) ",
43
43
  " and isnull(@dt_from, wkflow_state.wkflow_state_start_tstmp) <= wkflow_state.wkflow_state_start_tstmp ",
44
- " and isnull(@dt_to, wkflow_state.wkflow_state_start_tstmp) >= wkflow_state.wkflow_state_start_tstmp ",
44
+ " and isnull($addDays(@dt_to,1), wkflow_state.wkflow_state_start_tstmp) > wkflow_state.wkflow_state_start_tstmp ",
45
45
  " group by wkflow_state.wkflow_id, wkflow_def.wkflow_def_name, wkflow_def_state.wkflow_def_state_name ",
46
46
  " ) x group by wkflow_def_name, wkflow_def_state_name ",
47
47
  " order by wkflow_def_name, wkflow_def_state_name "
@@ -44,7 +44,7 @@
44
44
  " where wkflow.wkflow_def_id = isnull((select wkflow_def_id from wkflow.wkflow_def where wkflow_def.wkflow_def_code=@wkflow_def_code),wkflow.wkflow_def_id) ",
45
45
  " and wkflow.wkflow_sts = 'COMPLETE' ",
46
46
  " and isnull(@dt_from, wkflow.wkflow_etstmp) <= wkflow.wkflow_etstmp ",
47
- " and isnull(@dt_to, wkflow.wkflow_etstmp) >= wkflow.wkflow_etstmp ",
47
+ " and isnull($addDays(@dt_to,1), wkflow.wkflow_etstmp) > wkflow.wkflow_etstmp ",
48
48
  " ) x group by wkflow_def_name ",
49
49
  " order by wkflow_def_name "
50
50
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsharmony-workflow",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "jsHarmony Workflow",
5
5
  "main": "index.js",
6
6
  "keywords": [