Commit Graph

80 Commits

Author SHA1 Message Date
gazebo
123ffd4353 - param isBySku added for GetSkuNames 2019-03-07 09:54:37 +08:00
gazebo
b6f72b6eb3 - set skuName.JdSyncStatus to SyncFlagNewMask only when isSpu == 1 in AddSkuName 2019-02-19 17:33:59 +08:00
gazebo
2f97b09738 - isSpu can not be changed in UpdateSkuName 2019-02-15 12:03:32 +08:00
gazebo
19c832e590 - add isSpu condition in GetSkuNames 2019-02-15 10:56:34 +08:00
gazebo
4a17bd0419 - fix bug in UpdateSkuName introduced in previous commit 2019-02-15 10:40:20 +08:00
gazebo
a9346fad2e - specially handle places in UpdateSkuName 2019-02-15 10:37:04 +08:00
gazebo
9a9f5d45f1 - debug 2019-02-15 10:27:52 +08:00
gazebo
aa9c83ec94 - optimize UploadWeimobImg4SkuName 2019-02-13 11:21:26 +08:00
gazebo
2a924c864b - fk 2019-01-31 16:08:23 +08:00
gazebo
375e857e33 - don't use Unmarshal2Map
- recaculate sku price in updateSku
2019-01-31 15:52:16 +08:00
gazebo
d420aa68fe - add param valueMask to UpdateEntityLogicallyAndUpdateSyncStatus
- judge change content in UpdateSku
- support change sku spec
2019-01-31 09:46:23 +08:00
gazebo
72b23a5b8a - return correct jdID and jdSyncStatus in GetSkuNames 2019-01-29 11:54:09 +08:00
gazebo
ac291b287c - refactor temp op 2019-01-24 17:58:00 +08:00
gazebo
4105497874 - sync.SyncSku add param isContinueWhenError 2019-01-18 10:33:28 +08:00
gazebo
c7577e6005 - dao.GetLastTotalRowCount 2018-12-21 11:07:18 +08:00
gazebo
20d9ee20c3 - fix bug when sync error in UpdateSkuName 2018-12-12 14:46:42 +08:00
gazebo
5e838f2e72 - add skuName.upc 2018-12-11 23:02:17 +08:00
gazebo
9191642998 - get is_spu, img_hash_code 2018-12-11 15:28:31 +08:00
gazebo
c95b4d2e10 - get skuname.status 2018-12-11 14:09:07 +08:00
gazebo
f7c5e089ff - jd spu support 2018-12-11 12:44:41 +08:00
gazebo
35f1d51e77 - fix wrong use sku.sku_id in cms.DeleteStoreSku 2018-12-11 12:40:09 +08:00
gazebo
160ac2dd83 - remove some comment 2018-12-04 20:23:22 +08:00
gazebo
fc1e2ded61 - refactor DeleteSkuName
- fix bug in FlatMap(should recursively)
2018-11-23 09:43:34 +08:00
gazebo
a2ce997a0b - when delete category or sku, delete store sku and store category info also. 2018-11-19 10:36:50 +08:00
gazebo
f8f5f77fbf - skuCategoryID for GetSkuNames
- change OrderStatusName and WaybillStatusName to Chinese name
2018-11-12 14:03:02 +08:00
gazebo
86b50e5c66 - revert time2Schedule3rdCarrier = 30 * time.Minute 2018-11-12 10:19:33 +08:00
gazebo
307cf55238 - nameID and skuID for GetSkuNames 2018-11-09 14:58:49 +08:00
gazebo
1313fefe0d - refactor GetSkuNames, remove skuID, nameID, jdID. add vendorSkuIDs. 2018-11-09 09:21:31 +08:00
gazebo
ee9b84bd80 - handle level 1 leaf category in func GetSkuNames and GetStoreSkus 2018-11-07 11:28:02 +08:00
gazebo
7c07d65c48 - refactor mysql transaction 2018-11-05 15:22:30 +08:00
gazebo
298bb2f617 - add SpecQuality and SpecUnit for skuname
- order desc for many query apis
2018-10-28 12:27:12 +08:00
gazebo
e4b46c9706 - check level in AddCategory.
- fix bug, jd outSystemId is string
2018-10-25 15:11:37 +08:00
gazebo
393d3fbf45 - the information format of store map and courier map in GetStores changed to list
- nameIDs and skuIDs form GetSkuNames.
2018-10-22 15:15:11 +08:00
gazebo
b51ceb3d1d - add jxcontext.Context to all public API. 2018-10-21 22:41:11 +08:00
gazebo
1a9ff7e575 - remove literal '1970-01-01 00:00:00' 2018-10-21 11:12:41 +08:00
gazebo
94196d72e5 - avoid jdid duplicated error in AddSkuName. 2018-10-19 16:18:17 +08:00
gazebo
850dced8a6 - comment moved from skuname to sku. 2018-10-19 14:24:13 +08:00
gazebo
294786cb4b - bug fix for many sync operation. 2018-10-18 17:13:43 +08:00
gazebo
d7b93b8bf2 - remove many useless isForce parameters.
- isSync to isAsync.
2018-10-16 11:52:40 +08:00
gazebo
df19812e97 - formalize pageSize. 2018-10-15 16:20:06 +08:00
gazebo
3145d371c0 - refactor sync. 2018-10-12 11:54:20 +08:00
gazebo
6133998e54 - no platform dependency in sync.go 2018-10-11 22:17:20 +08:00
gazebo
a8974ff4a6 - UpdateEntityLogicallyAndUpdateSyncStatus for model.SyncFlagModifiedMask 2018-09-25 17:49:20 +08:00
gazebo
81089fb85c - category sync almost ok.
- refactor tasksch (isContinueWhenError)
2018-09-22 10:26:31 +08:00
gazebo
804c9c146c - refactor partner. 2018-09-21 10:57:00 +08:00
gazebo
c0e179a3e0 - fix bug placeBind := &model.SkuNamePlaceBind{} 2018-09-20 18:07:00 +08:00
gazebo
9d88344ddb - Store and StoreMap add DeletedAt. 2018-09-20 10:07:58 +08:00
gazebo
8593e8b44b - ReorderCategories 2018-09-18 22:58:15 +08:00
gazebo
7e0a58d801 - ReorderCategories 2018-09-18 22:38:35 +08:00
gazebo
6299c1e61f - GetCategories order by level, seq 2018-09-18 22:36:29 +08:00