Commit Graph

63 Commits

Author SHA1 Message Date
gazebo
4a54ea1ec2 + UnmanageTasks 2019-08-28 09:19:43 +08:00
gazebo
97fe760ac5 - 同步平台商品时,如果修复一个不存在的SKU,要报错。删除成功后清除平台SKUID 2019-08-14 16:58:15 +08:00
gazebo
f06456cec1 - 用SyncMapWithTimeout管理tasksch任务 2019-08-07 14:55:54 +08:00
gazebo
8768fe8236 - FreeBatchStoreSkuInfo与FreeBatchStoreSkuSyncInfo添加任务名 2019-08-07 14:15:30 +08:00
gazebo
c020130819 - tasksch.NewParallelTask2,支持部分失败时得到准备的成功,失败个数信息 2019-08-06 14:20:32 +08:00
gazebo
582f11521c - 处理设置假营业时间的逻辑BUG(之前逻辑在10点以后重启后,可能导致库存不能恢复) 2019-08-04 09:57:18 +08:00
gazebo
8343061c5f - 修复BaseTask.run中消息提醒的BUG 2019-08-02 16:53:27 +08:00
gazebo
402e60ab50 - 整理tasksch 2019-08-01 20:07:39 +08:00
gazebo
852fff6eff - 重构tasksch 2019-08-01 16:29:11 +08:00
gazebo
a31ba8f730 - 整理tasksch 2019-08-01 14:29:22 +08:00
gazebo
b50c505336 - 门店状态报警格式调整,使用markdown语法 2019-07-17 09:22:30 +08:00
gazebo
a66d69a265 - 特殊处理同步价格至平台出错,较大改动 2019-06-06 15:01:48 +08:00
gazebo
1a91ae1732 - tasksch任务在结束后释放jobList,避免被管理的任务不能释放内存 2019-05-25 08:45:50 +08:00
gazebo
e024203e2f - ExportOrders 2019-05-23 09:55:11 +08:00
gazebo
79542ae756 - MaxTaskNameLen = 50 2019-04-24 21:34:46 +08:00
gazebo
addd9e3ad9 - tasksch中,子任务结束发送结果时要获取lock 2019-04-17 13:32:20 +08:00
gazebo
36e117f313 - 修复tasksch中任务panic导致的BUG 2019-04-17 12:26:51 +08:00
gazebo
cb35d92feb - 一些同步的任务名添加关键信息 2019-04-16 09:42:36 +08:00
gazebo
660ff1e34c - 去掉ebai.GetAllRemoteSkus中一个冗长的调度输出
- BaseTask marshal时忽略Result
2019-04-11 15:49:41 +08:00
gazebo
834a1f2206 - up 2019-03-29 16:56:22 +08:00
gazebo
753ce06d0b - 异步任务消息格式 2019-03-22 18:44:24 +08:00
gazebo
180494ab70 - 改异步任务消息格式 2019-03-22 15:54:24 +08:00
gazebo
5b0861a4c0 - 改动异步任务完成消息通知内容 2019-03-22 15:50:11 +08:00
gazebo
9781e85e4d - up 2019-03-22 15:26:03 +08:00
gazebo
074d5e989e - fix bug in taskshc.HandleTask 2019-03-22 15:13:53 +08:00
gazebo
25ac631c5c - refactor jxcontent and tasksch (remove dependency from jxcontent to tasksch)
- send dingding msg to user when async task finished
2019-03-22 15:04:28 +08:00
gazebo
4a4bd4518b - fk 2019-03-13 16:11:37 +08:00
gazebo
887eeafa9f - createdBy params added for GetTasks 2019-03-06 11:15:18 +08:00
gazebo
0ba4068c92 - optimize PullJdOrder 2019-01-10 23:46:59 +08:00
gazebo
12a3b4265d - fix concurrent access of TaskMan 2019-01-02 17:37:38 +08:00
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