1
This commit is contained in:
@@ -2730,7 +2730,7 @@ func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID int, toStoreIDs []int, co
|
||||
// 添加toStore中不存在,但fromStore存在的
|
||||
sql = `
|
||||
INSERT INTO store_sku_bind(created_at, updated_at, last_operator, deleted_at, store_id, sku_id, sub_store_id, price, jx_price, unit_price, status,
|
||||
jd_sync_status, ebai_sync_status, mtwm_sync_status, stock)
|
||||
jd_sync_status, ebai_sync_status, mtwm_sync_status,dd_sync_status, stock)
|
||||
SELECT ?, ?, ?, ?, ?,
|
||||
t1.sku_id, 0,
|
||||
IF(t1.price * ? / 100 > 0, t1.price * ? / 100, 1) * ?,
|
||||
|
||||
Reference in New Issue
Block a user