aa
This commit is contained in:
@@ -94,7 +94,7 @@ func SyncStoreCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
if vendorID == model.VendorIDEBAI && catInfo.VendorOrgCode == "34665" && catInfo.CityCode == 510100 {
|
||||
if vendorID == model.VendorIDEBAI && catInfo.VendorOrgCode == "34665" && catInfo.CityCode == 510100 && catInfo.IsExdSync == 0 {
|
||||
catInfo.Name = catInfo.ExdName
|
||||
catInfo.Seq = catInfo.ExdSeq
|
||||
}
|
||||
|
||||
@@ -71,6 +71,8 @@ func GetCategories(db *DaoDB, parentID, level int, catIDs []int, isExd bool) (ca
|
||||
params = append(params, level)
|
||||
}
|
||||
if isExd {
|
||||
sql += " AND t1.is_exd_sync <> ?"
|
||||
params = append(params, 1)
|
||||
sql += " ORDER BY t1.level, t1.exd_seq"
|
||||
} else {
|
||||
sql += ` AND t1.is_exd_spec = 0
|
||||
|
||||
Reference in New Issue
Block a user