Commit Graph

519 Commits

Author SHA1 Message Date
gazebo
74d1a44306 - ebai waybill 2018-11-15 17:44:27 +08:00
gazebo
b821a89446 - constrain sku status is normal in ebai getDirtyStoreSkus 2018-11-14 16:29:15 +08:00
gazebo
d4810cc870 - enable enableEbaiStoreWrite on prod
- comment all ebai order write funcs.
2018-11-14 15:45:20 +08:00
gazebo
0f8cb39ac3 - setStoreSkuSyncStatus 2018-11-14 15:34:43 +08:00
gazebo
a84286df4f - handle ebai fake mobile(IsMobileFake) 2018-11-14 15:05:40 +08:00
gazebo
933f491541 - IsContinueWhenError true for LoopStoresMap and LoopMultiStoresVendors 2018-11-14 12:26:56 +08:00
gazebo
f9e8e4745a - trim store deliveryRange(possible additional ;) 2018-11-14 12:11:43 +08:00
gazebo
4841592daa - fk ebai order_id,GetOrderIDFromMsg 2018-11-14 07:29:47 +08:00
gazebo
3596ae9e8e - VendorOrderID2 for ebai order 2018-11-13 22:31:56 +08:00
gazebo
22eb6b76dd - FullSyncStoresSkus 2018-11-13 22:26:48 +08:00
gazebo
b692f9adae - refactor ebai SyncStoreSkus 2018-11-13 19:12:21 +08:00
gazebo
70bcf0cec2 - refactor ebai SyncStoreSkus 2018-11-13 18:12:37 +08:00
gazebo
f316fd4c1f - all ebai order msg order_id is tring
- if store_id of ebai order larger than math.MaxInt32, set it to zero
2018-11-13 15:53:43 +08:00
gazebo
54ba8efd78 - ebaiapi.ShopBusStatusOffline --> model.StoreStatusDisabled 2018-11-13 11:13:46 +08:00
gazebo
993ce31b4d - get district code from coordinate if necessary for ebai store. 2018-11-13 10:21:03 +08:00
gazebo
84f79249c8 - new config param:EnableEbaiStoreWrite 2018-11-13 10:11:41 +08:00
gazebo
49b9d07153 - ebai prod key added.
- TrimDecorationChar
2018-11-13 09:29:06 +08:00
gazebo
386ac29ad7 - TrimBlanChar to TrimBlankChar
- error_code.go
2018-11-02 14:11:32 +08:00
gazebo
0e09f42468 - don't call FilterMb4 when saving order, instead call FilterMb4 when create waybill. 2018-10-31 11:53:35 +08:00
gazebo
b55b2c002d - model.MaxStoreSkuStockQty = 99999 2018-10-29 08:34:22 +08:00
gazebo
f7df897bdb - add param isContinueWhenError for SyncStoresSkus. 2018-10-27 18:43:52 +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
9a8bcd506b - add deleted_at for SyncStoreCategory 2018-10-26 15:31:09 +08:00
gazebo
6c7b9afd10 - remove RunParallelTask
- refactor partner.SyncStoreCategory.
2018-10-26 13:38:35 +08:00
gazebo
5f35965fee - refactor SyncStoreSkus, LoopStoresMap 2018-10-26 11:23:10 +08:00
gazebo
442b8c6db3 - fix bug in updateStoreSkusWithoutSync 2018-10-24 20:27:22 +08:00
gazebo
508a949006 - check store_map 2018-10-24 14:54:20 +08:00
gazebo
5811d3cb68 - add parentTask. 2018-10-24 11:11:40 +08:00
gazebo
aa0b574a35 - ebai.RefreshAllStoresID 2018-10-23 22:11:28 +08:00
gazebo
93a7202423 - RefreshAllStoresID
- RefreshAllSkusID
- use new tasksch when possible(not use run directly).
2018-10-23 16:34:42 +08:00
gazebo
0d5a5189ed - big refactor tasksch 2018-10-20 15:05:02 +08:00
gazebo
850dced8a6 - comment moved from skuname to sku. 2018-10-19 14:24:13 +08:00
gazebo
507fcf16d8 - refactor basesch, move register partner to partner. 2018-10-18 21:18:38 +08:00
gazebo
294786cb4b - bug fix for many sync operation. 2018-10-18 17:13:43 +08:00
gazebo
0db0dd4ca1 - config prod2 added for another jd account.
- can disable some platform.
2018-10-18 12:07:21 +08:00
gazebo
ac76040e99 - UpdateStoresSkusSale 2018-10-16 15:01:59 +08:00
gazebo
d7b93b8bf2 - remove many useless isForce parameters.
- isSync to isAsync.
2018-10-16 11:52:40 +08:00
gazebo
2ffb32cb51 - fk. 2018-10-15 11:03:00 +08:00
gazebo
fa42da1f25 - ebai the format of order_id of some different msgs are different. 2018-10-15 10:59:12 +08:00
gazebo
6133998e54 - no platform dependency in sync.go 2018-10-11 22:17:20 +08:00
gazebo
e1dd674d9b - CopyStoreSkus 2018-10-11 17:40:24 +08:00
gazebo
5ec12fbbf1 - fix some store to stores. 2018-10-11 16:11:48 +08:00
gazebo
a8c35c2448 - fix SelfDeliverDelievering to SelfDeliverDelivering. 2018-10-09 17:42:14 +08:00
gazebo
4b150a0181 - trim string after FilterMb4. 2018-10-08 16:53:11 +08:00
gazebo
922e5175c7 - sync store category. 2018-10-08 15:33:13 +08:00
gazebo
923b7617f8 - CaculateSkuPrice don't calculate when skuname unit is not 份. 2018-10-05 12:41:38 +08:00
gazebo
40affb2707 - recalculate order.Weight when platform not give 2018-09-28 12:10:30 +08:00