商品保存问题修复
This commit is contained in:
parent
84da413f4d
commit
c3f81c5997
@ -1001,8 +1001,10 @@ public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseM
|
||||
item_row.setSpec_item_ids(CollUtil.join(spec_item_ids, ","));
|
||||
|
||||
// todo 生成商家SKU
|
||||
|
||||
String sku_uniqid = CollUtil.join(spec_item_ids, "-");
|
||||
String sku_uniqid = "default";
|
||||
if(CollUtil.isNotEmpty(spec_item_ids)){
|
||||
sku_uniqid = CollUtil.join(spec_item_ids, "-");
|
||||
}
|
||||
String product_item_seq_val = String.format("%s:%s", productId, sku_uniqid);
|
||||
String product_item_seq_id = SecureUtil.md5(product_item_seq_val);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user