Commit Graph

33 Commits

Author SHA1 Message Date
gazebo
e66a38b20b - reverse sort tasks. 2018-12-04 17:21:15 +08:00
gazebo
ceb66bc48a - tasksch error show taks name
- distinguish platform error
2018-12-03 16:19:51 +08:00
gazebo
dd6a4723d8 - TaskStatusName 2018-11-22 10:22:24 +08:00
gazebo
e8705b12ec - GetCreatedBy for ITask 2018-11-19 21:16:12 +08:00
gazebo
7a93cf745d - when IsContinueWhenError is true, if partial failed, mark the whole task as failed. 2018-10-27 18:00:02 +08:00
gazebo
0743df73b2 - revert default IsContinueWhenError to false. 2018-10-27 17:22:22 +08:00
gazebo
abd8326511 - avoid nil TaskError 2018-10-27 17:16:16 +08:00
gazebo
eac24b9a5a - SyncStoresCategory
- TaskError for json output.
2018-10-27 16:12:00 +08:00
gazebo
970e8dc7b2 - only clear sync status when SkuShopCategoryMap succeeded
- and DetailErrList for tasksch.
2018-10-27 10:22:25 +08:00
gazebo
0397729aa0 - fix bug in UpdateStore(GetRows) 2018-10-26 20:09:56 +08:00
gazebo
f12cfafe23 - avoid run task more than once. 2018-10-26 17:34:40 +08:00
gazebo
6c7b9afd10 - remove RunParallelTask
- refactor partner.SyncStoreCategory.
2018-10-26 13:38:35 +08:00
gazebo
ed4cdb6f2a - remove tasksch.TaskMan.Run*** funcs 2018-10-25 08:47:37 +08:00
gazebo
442b8c6db3 - fix bug in updateStoreSkusWithoutSync 2018-10-24 20:27:22 +08:00
gazebo
93a7202423 - RefreshAllStoresID
- RefreshAllSkusID
- use new tasksch when possible(not use run directly).
2018-10-23 16:34:42 +08:00
gazebo
c818c45a4d - optimize tasksch channel. 2018-10-21 17:09:08 +08:00
gazebo
0fb6fe27fe - close quitChan when Cancel for tasksch. 2018-10-21 13:47:53 +08:00
gazebo
0d5a5189ed - big refactor tasksch 2018-10-20 15:05:02 +08:00
gazebo
2bfa5fe17f - use utils.CallFuncAsync when possible. 2018-10-20 12:02:52 +08:00
gazebo
042d3b5616 - BaseTask.GetID 2018-10-20 10:49:32 +08:00
gazebo
1c74a43c1b - MarshalJSON added for BaseTask. 2018-10-20 10:08:57 +08:00
gazebo
c00336905a - ren tasksch.Task to ParallelTask. 2018-10-20 09:35:17 +08:00
gazebo
66ef068fc3 - refactor tasksch
- sequence task added.
- task tree added.
2018-10-20 09:22:36 +08:00
gazebo
68db928187 - rough sequence task added. 2018-10-19 18:34:31 +08:00
gazebo
9ad1e383f8 - fixed bug in calculate max parallelCount in tasksch.RunTask
- multi-task for stores in jd.SyncStoreSkus
- calculate platform price use platform price_percentage.
- GoodsOrder json StoreName.
2018-10-11 10:21:43 +08:00
gazebo
922e5175c7 - sync store category. 2018-10-08 15:33:13 +08:00
gazebo
b936d3354b - up. 2018-09-22 23:28:52 +08:00
gazebo
81089fb85c - category sync almost ok.
- refactor tasksch (isContinueWhenError)
2018-09-22 10:26:31 +08:00
gazebo
7295c16367 - miss use err: in SyncSku 2018-09-21 16:57:34 +08:00
gazebo
c8107677c4 - must receive all result in task.go 2018-09-21 15:42:39 +08:00
gazebo
4192e9c635 - don't check weixin exist after login in. 2018-09-21 15:35:02 +08:00
gazebo
764bc0b7b3 - fix bug send msg to closed channel. 2018-09-17 17:49:13 +08:00
gazebo
af5038e8a7 - task schedule added. 2018-09-15 18:53:39 +08:00