1
This commit is contained in:
@@ -751,6 +751,9 @@ func GetActMtwmVendorPage(db *DaoDB, storeIDs, skuIDs []int, keyword string, beg
|
|||||||
panic(r)
|
panic(r)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
globals.SugarLogger.Debugf("sql := %s", sql)
|
||||||
|
globals.SugarLogger.Debugf("sql := %s", utils.Format4Output(sqlParams, false))
|
||||||
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil && len(acts) != 0 {
|
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil && len(acts) != 0 {
|
||||||
aa := GetLastTotalRowCount2(db, txDB)
|
aa := GetLastTotalRowCount2(db, txDB)
|
||||||
pageInfo.TotalCount = aa
|
pageInfo.TotalCount = aa
|
||||||
|
|||||||
@@ -674,7 +674,6 @@ func updateStoreSkusStockByCreate(ctx *jxcontext.Context, api *tao_vegetable.API
|
|||||||
globals.SugarLogger.Debugf("Updat stock err := %s", err.Error())
|
globals.SugarLogger.Debugf("Updat stock err := %s", err.Error())
|
||||||
//failedList = append(failedList, putils.GetErrMsg2FailedSingleList(v, err, storeID, model.VendorChineseNames[model.VendorIDTaoVegetable], "更新库存错误")...)
|
//failedList = append(failedList, putils.GetErrMsg2FailedSingleList(v, err, storeID, model.VendorChineseNames[model.VendorIDTaoVegetable], "更新库存错误")...)
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("UpdateStoreSkusStock=====err := %v", failedList)
|
|
||||||
return failedList
|
return failedList
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user