This commit is contained in:
suyl
2021-07-08 17:41:23 +08:00
parent 2b143c0fd2
commit 896273f2c2

View File

@@ -1953,11 +1953,12 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
db = dao.GetDB() db = dao.GetDB()
ss []int ss []int
) )
storeMaps, _ := dao.GetStoresMapList(db, []int{0}, nil, nil, model.StoreStatusAll, model.StoreIsSyncAll, "", "", "320406") storeMaps, _ := dao.GetStoresMapList(db, []int{0}, nil, []int{0, 1}, model.StoreStatusAll, model.StoreIsSyncAll, "", "", "320406")
for _, v := range storeMaps { for _, v := range storeMaps {
if _, err = cms.GetVendorStore(jxcontext.AdminCtx, 0, v.VendorOrgCode, v.VendorStoreID); err != nil { if _, err = cms.GetVendorStore(jxcontext.AdminCtx, 0, v.VendorOrgCode, v.VendorStoreID); err != nil {
ss = append(ss, v.StoreID) ss = append(ss, v.StoreID)
} }
} }
fmt.Println("无语ss", ss) fmt.Println("无语ss", ss)
return err return err