This commit is contained in:
苏尹岚
2021-01-07 10:36:34 +08:00
parent 3f331702fd
commit e3266af9ae
2 changed files with 3 additions and 1 deletions

View File

@@ -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