- 将jdid去掉唯一索引,这样在创建前就可以设置成0值了,不需要再用一个假的ID值

This commit is contained in:
gazebo
2019-03-26 14:48:53 +08:00
parent 51f736976d
commit 087feb94ed
4 changed files with 1252 additions and 1109 deletions

View File

@@ -103,7 +103,7 @@ func Convert2JDSPU(ctx *jxcontext.Context, count int, isAsync, isContinueWhenErr
skuNew2 := *sku
skuNew := &skuNew2
dao.WrapAddIDCULEntity(skuNew, ctx.GetUserName())
skuNew.JdID = jxutils.GenFakeID()
skuNew.JdID = 0 //jxutils.GenFakeID()
skuNew.LinkID = sku.ID
skuNew.NameID = skuNameNew.ID
skuNew.JdSyncStatus = model.SyncFlagNewMask