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