diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index cfca00d03..467a0c9b0 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1907,7 +1907,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { // 100117, // 100115, } - list, _ := dao.QueryActs(db, 0, 0, 9999, 0, "", model.VendorIDJD, nil, []int{model.ActSkuDirectDown}, nil, storeID, nil, 0, time.Now().AddDate(0, -3, 0), time.Now(), utils.ZeroTimeValue, utils.ZeroTimeValue) + list, _ := dao.QueryActs(db, 0, 0, 9999, -1, "", model.VendorIDJD, nil, []int{model.ActSkuDirectDown}, nil, storeID, nil, 0, time.Now().AddDate(0, -3, 0), time.Now(), utils.ZeroTimeValue, utils.ZeroTimeValue) for _, v := range list.Data { var actStoreSkuList []*act.ActStoreSkuParam _, actStoreSku2, _ := dao.GetActStoreSkuVendorList(db, v.ID, []int{model.VendorIDJD}, []int{storeID}, nil, "", 0, 9999) @@ -1922,7 +1922,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { actStoreSkuList = append(actStoreSkuList, actStoreSku) } } - fmt.Println("actStoreSkuList", utils.Format4Output(actStoreSkuList, false)) + fmt.Println("actStoreSkuList", utils.Format4Output(v, false)) // act.CreateAct(ctx, &model.Act{ // Name: "复制犀浦下街活动" + utils.Int2Str(k), // Type: model.ActSkuDirectDown,