jiandian
This commit is contained in:
@@ -1842,10 +1842,17 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
_, err = cms.UpdateOrCreateCourierStores(ctx, v.ID, false, false, false)
|
||||
if err != nil {
|
||||
storeIDs = append(storeIDs, v.ID)
|
||||
} else {
|
||||
csList, _ := dao.GetStoreCourierList(db, []int{v.ID}, []int{model.VendorIDFengNiao}, model.StoreStatusAll, model.StoreAuditStatusAll)
|
||||
if len(csList) > 0 {
|
||||
csList[0].Status = 0
|
||||
dao.UpdateEntity(db, csList[0], "Status")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break
|
||||
}
|
||||
fmt.Println("errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr", storeIDs)
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user