This commit is contained in:
gazebo
2019-10-14 10:02:53 +08:00
parent 9b7be29441
commit dd7eea1a02

View File

@@ -530,9 +530,9 @@ func updateUnitPrice4StoreSkuNameNew(db *dao.DaoDB, skuNamesInfo *StoreSkuNamesI
}
func updateActPrice4StoreSkuNameNew(db *dao.DaoDB, storeIDs, skuIDs []int, skuNamesInfo *StoreSkuNamesInfo) (err error) {
if len(skuIDs) == 0 {
return nil
}
// if len(skuIDs) == 0 {
// return nil
// }
actStoreSkuList, err := dao.GetEffectiveActStoreSkuInfo(db, 0, nil, storeIDs, skuIDs, time.Now(), time.Now())
if err != nil {
globals.SugarLogger.Errorf("updateActPrice4StoreSkuNameNew can not get sku promotion info for error:%v", err)