aa
This commit is contained in:
@@ -1011,7 +1011,8 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fmt.Println("actMap", utils.Format4Output(actMap, true))
|
fmt.Println("actMap", utils.Format4Output(actMap, true))
|
||||||
fmt.Println("actStoreSkuMap", utils.Format4Output(partner.SplitActStoreSku(actStoreSkuMap[act.VendorID]), true))
|
fmt.Println("actStoreSkuMap1", actStoreSkuMap[0], true)
|
||||||
|
fmt.Println("actStoreSkuMap2", utils.Format4Output(partner.SplitActStoreSku(actStoreSkuMap[0]), true))
|
||||||
isNeedCancelAct := true
|
isNeedCancelAct := true
|
||||||
for vendorID, act := range actMap {
|
for vendorID, act := range actMap {
|
||||||
originSyncStatus |= act.SyncStatus
|
originSyncStatus |= act.SyncStatus
|
||||||
|
|||||||
@@ -151,8 +151,6 @@ func GetActStoreSkuVendorList(db *DaoDB, actID int, vendorIDs, storeIDs, skuIDs
|
|||||||
// globals.SugarLogger.Debug(sql)
|
// globals.SugarLogger.Debug(sql)
|
||||||
// globals.SugarLogger.Debug(utils.Format4Output(sqlParams, false))
|
// globals.SugarLogger.Debug(utils.Format4Output(sqlParams, false))
|
||||||
// globals.SugarLogger.Debug(utils.Format4Output(actStoreSkuList, false))
|
// globals.SugarLogger.Debug(utils.Format4Output(actStoreSkuList, false))
|
||||||
fmt.Println(sql)
|
|
||||||
fmt.Println(sqlParams)
|
|
||||||
txDB, _ := Begin(db)
|
txDB, _ := Begin(db)
|
||||||
defer Commit(db, txDB)
|
defer Commit(db, txDB)
|
||||||
if err = GetRowsTx(txDB, &actStoreSkuList, sql, sqlParams...); err == nil {
|
if err = GetRowsTx(txDB, &actStoreSkuList, sql, sqlParams...); err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user