取消活动
This commit is contained in:
@@ -1587,32 +1587,58 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
// fmt.Println("deleteList2", deleteList)
|
||||
db := dao.GetDB()
|
||||
storeIDs := []int{
|
||||
667159,
|
||||
667139,
|
||||
666842,
|
||||
666799,
|
||||
666794,
|
||||
666770,
|
||||
666739,
|
||||
666729,
|
||||
103177,
|
||||
103027,
|
||||
102808,
|
||||
102733,
|
||||
102718,
|
||||
102686,
|
||||
102676,
|
||||
102675,
|
||||
102661,
|
||||
101097,
|
||||
100041,
|
||||
100032,
|
||||
667335,
|
||||
667321,
|
||||
667319,
|
||||
667260,
|
||||
667227,
|
||||
667167,
|
||||
667109,
|
||||
667094,
|
||||
667050,
|
||||
666898,
|
||||
666852,
|
||||
666815,
|
||||
666763,
|
||||
666761,
|
||||
666760,
|
||||
666759,
|
||||
666714,
|
||||
666708,
|
||||
666705,
|
||||
666669,
|
||||
103437,
|
||||
103425,
|
||||
103349,
|
||||
103123,
|
||||
103116,
|
||||
103107,
|
||||
103069,
|
||||
103019,
|
||||
102940,
|
||||
102890,
|
||||
102831,
|
||||
102772,
|
||||
102751,
|
||||
101870,
|
||||
101755,
|
||||
101176,
|
||||
100767,
|
||||
100754,
|
||||
100726,
|
||||
100699,
|
||||
100476,
|
||||
100369,
|
||||
100366,
|
||||
100361,
|
||||
100351,
|
||||
100350,
|
||||
}
|
||||
for _, storeID := range storeIDs {
|
||||
acts, _ := dao.QueryActs(db, 0, 0, 50, -1, "", -1, []int{1}, []int{0, 3, 4}, nil, storeID, nil, 0, utils.ZeroTimeValue, utils.ZeroTimeValue, utils.Str2Time("2020-05-30 00:00:00"), utils.Str2Time("2020-07-30 00:00:00"))
|
||||
acts, _ := dao.QueryActs(db, 0, 0, 50, 0, "", -1, []int{1}, []int{0, 3, 4}, nil, storeID, nil, 0, utils.ZeroTimeValue, utils.ZeroTimeValue, utils.Str2Time("2020-05-30 00:00:00"), utils.Str2Time("2020-07-30 00:00:00"))
|
||||
for _, v := range acts.Data {
|
||||
var actStoreSkuParam []*act.ActStoreSkuParam
|
||||
_, actStoreSkus, _ := dao.GetActStoreSkuVendorList(db, v.ID, nil, nil, nil, "", 0, 99999)
|
||||
_, actStoreSkus, _ := dao.GetActStoreSkuVendorList(db, v.ID, []int{0}, nil, nil, "", 0, 99999)
|
||||
for _, actStoreSku := range actStoreSkus {
|
||||
if actStoreSku.StoreID == storeID {
|
||||
aa := &act.ActStoreSkuParam{
|
||||
|
||||
Reference in New Issue
Block a user