Commit Graph

63 Commits

Author SHA1 Message Date
gazebo
15c703b469 - refactor test init flow 2019-03-20 22:28:51 +08:00
gazebo
dec14126a7 - replace all goroutine and AfterFunc with recover version 2019-03-15 10:26:30 +08:00
gazebo
267a13d166 - stop jd promotion.scheduleRoutine 2019-01-18 18:43:35 +08:00
gazebo
b6f1dc8721 - GoodsOrder.ConsigneeMobile2 for real user mobile. 2019-01-08 18:21:50 +08:00
gazebo
060d2c5623 - reduce debug msg in OnStoreStockMsg 2019-01-07 15:34:49 +08:00
gazebo
c7577e6005 - dao.GetLastTotalRowCount 2018-12-21 11:07:18 +08:00
gazebo
d68706dc71 - remove tedious debug msg in RefreshJdPromotionItemListLockStatus 2018-12-12 17:13:07 +08:00
gazebo
3252665a59 - SetIsContinueWhenError true when delete all remote skus and categories. 2018-12-04 22:41:24 +08:00
gazebo
160ac2dd83 - remove some comment 2018-12-04 20:23:22 +08:00
gazebo
fb208a8c50 - don't call RefreshJdStoreSkuStock in LockPromotionSkus 2018-11-26 10:15:36 +08:00
gazebo
00cfa73f92 - and param skuIDs to RefreshJdStoreSkuStock to speedup it 2018-11-26 10:03:57 +08:00
gazebo
02b325e33f - RefreshJdStoreSkuStock add promotionID param 2018-11-26 09:47:43 +08:00
gazebo
2f6274e204 - debug LockPromotionSkus 2018-11-26 09:24:24 +08:00
gazebo
ec1a3deee6 - fk 2018-11-14 10:39:01 +08:00
gazebo
a679ef3f44 - merge storeID and cityCode for GetPromotions 2018-11-14 10:34:44 +08:00
gazebo
0e6c0d4a52 - fk 2018-11-14 10:22:49 +08:00
gazebo
b370e4d158 - support cityCode in GetPromotions
- promotion beginAt and endAt are time format(not just date format)
2018-11-14 10:16:52 +08:00
gazebo
acbf6052d3 - up 2018-11-13 12:38:24 +08:00
gazebo
8cea399565 - async call some funcs in scheduleRoutine to avoid blocking 2018-11-10 09:32:34 +08:00
gazebo
9bc5b083d8 - trim 来源 for jd promotion 2018-11-09 15:24:46 +08:00
gazebo
30e16ba636 - is_lock = 1 in RefreshJdLockStoreSku. 2018-11-09 11:14:13 +08:00
gazebo
534761f993 - RefreshPromotionStatus
- call UpdatePromotionStatusFromRemote in LockPromotionSkus.
2018-11-09 10:13:34 +08:00
gazebo
7ce06d275b - make OnNewPromotionMsg asnyc
- set limit... in CreateJdPromotion
- correct limitPint to limitPin
2018-11-08 17:49:57 +08:00
gazebo
7f8a7e7820 - set promotion status to PromotionStatusRemoteCreated when manually associated. 2018-11-08 16:44:30 +08:00
gazebo
69aad912cd - auto create jd promotion on jd new promotion event 2018-11-08 16:08:35 +08:00
gazebo
11f8ba1ecd - OnNewPromotionMsg 2018-11-08 11:27:31 +08:00
gazebo
b013d0ab53 - add remark on table promotion 2018-11-07 20:07:06 +08:00
gazebo
a5d22c3655 - handle special chars in store name. 2018-11-07 18:12:32 +08:00
gazebo
e5510db6ea - check vendorPromotionID in CreateJdPromotion 2018-11-07 14:47:09 +08:00
gazebo
741a55f7a2 - change isLock from bool to int for LockPromotionSkus 2018-11-07 14:27:09 +08:00
gazebo
88929a687c - format promotion to 活动 2018-11-07 14:09:32 +08:00
gazebo
8ad36d3095 - add Promotion CreateType 2018-11-07 14:04:58 +08:00
gazebo
73df0db1f8 - fix misplace params in RefreshJdPromotionLockStatus 2018-11-07 13:52:28 +08:00
gazebo
a5983d3e38 - run scheduleRoutine on startup 2018-11-07 13:36:07 +08:00
gazebo
62a7a57730 - call RefreshJdStoreSkuStock only isLock true in LockPromotionSkus 2018-11-07 13:23:28 +08:00
gazebo
9bb30affc4 - move Cacher from globals to api
- vendorPromotionID for CreatePromotion
- LockPromotionSkus
2018-11-07 13:17:25 +08:00
gazebo
297e72dc0f - isContinueWhenError for CreatePromotion 2018-11-07 11:19:17 +08:00
gazebo
4f5efcacb3 - fk 2018-11-07 10:23:14 +08:00
gazebo
a3cc68088f - fk 2018-11-07 09:56:53 +08:00
gazebo
1befa2805d - fix beginAt 2018-11-07 09:29:25 +08:00
gazebo
25a31efa06 - RefreshJdStoreSkuStock 2018-11-07 09:24:18 +08:00
gazebo
96c6c52571 - fix bug in promotion.OnStoreStockMsg 2018-11-06 22:23:31 +08:00
gazebo
e0cf85ebb6 - prevent modify promotion sku 2018-11-06 16:10:23 +08:00
gazebo
ae267dcdbe - prevent modify promotion store sku. lack callback handler 2018-11-06 14:36:21 +08:00
gazebo
434827abe6 - check status in CancelPromotion.
- return more accurate error in user related funcs
2018-11-06 08:34:23 +08:00
gazebo
ee5e7ffe18 - TryStr2Time 2018-11-05 22:04:28 +08:00
gazebo
42e96f3451 - return store name also. 2018-11-05 17:42:58 +08:00
gazebo
ef9739f00c - make PromotionStore and PromotionSku ModelIDCULD 2018-11-05 17:02:34 +08:00
gazebo
5cfae50cc7 - fix bug in CancelJdPromotion 2018-11-05 15:50:48 +08:00
gazebo
f24a9d6bb6 - update local status when cancel promotion successfully 2018-11-05 15:34:22 +08:00