This commit is contained in:
邹宗楠
2023-08-01 09:42:59 +08:00
parent 0acc44c716
commit 3a6a225078
5 changed files with 185 additions and 2 deletions

View File

@@ -2735,3 +2735,145 @@ func UpdateTaoSettleInfo() {
}
}
}
var storeList = []int64{
669053,
103074,
668985,
103065,
668960,
668959,
668953,
103029,
668949,
103002,
102999,
668932,
668931,
668917,
102969,
102966,
668909,
668908,
668905,
668901,
102946,
102939,
102938,
668894,
102934,
102933,
102930,
668884,
668878,
102903,
668757,
102293,
668622,
668618,
668592,
100945,
668583,
100943,
100935,
100905,
668498,
668476,
668462,
100309,
100299,
100292,
668276,
668180,
667320,
667237,
667036,
668691,
668673,
668282,
667447,
667354,
667335,
667319,
667316,
667269,
667268,
667267,
667260,
667132,
667030,
666965,
666714,
666708,
666705,
103437,
103349,
103123,
103121,
103106,
103038,
103028,
103019,
102831,
102751,
102683,
102542,
102514,
102382,
102182,
102178,
102173,
102098,
102094,
102080,
102072,
102069,
101870,
101869,
101868,
101867,
101866,
101865,
100956,
100930,
100871,
100786,
100746,
100744,
100705,
100400,
100111,
100108,
100106,
100104,
100103,
100102,
100100,
100097,
100096,
100095,
100093,
100092,
100089,
100087,
100086,
100085,
100083,
100082,
100081,
100079,
100078,
}
func UpdateTaoSkuUpdateOffShelf() {
// 标准模板店
//skuCodeList := dao.GetStoreSkuBindList(dao.GetDB(), 100102)
for _, storeId := range storeList {
storeSkuMap := dao.GetStoreSkuBindList(dao.GetDB(), storeId)
resultErr := tao.UpdateStoreSku(storeId, storeSkuMap)
if len(resultErr) > 0 {
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "2452A93EEB9111EC9B06525400E86DC0", "下架商品错误消息:", utils.Format4Output(resultErr, false))
}
}
}