diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index c6300fc43..469f1eb5a 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1590,13 +1590,14 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { WHERE a.store_id = b.id AND a.vendor_store_id = '' AND a.vendor_id = 5 AND a.deleted_at = ? AND b.deleted_at = ? + and a.jds_street_code = 0 ` sqlParams := []interface{}{utils.DefaultTimeValue, utils.DefaultTimeValue} err = dao.GetRows(db, &stores, sql, sqlParams) result1, _ := api.JdShopAPI.GetProvince() for _, v := range stores { for _, vv := range result1 { - if vv.AreaID != 1 && vv.AreaID != 2 && vv.AreaID != 3 && vv.AreaID != 4 { + if vv.AreaID == 1 || vv.AreaID == 2 || vv.AreaID == 3 || vv.AreaID == 4 { continue } result2, _ := api.JdShopAPI.GetCity(vv.AreaID)