This commit is contained in:
@@ -205,7 +205,7 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
q.Length=q.Length-2;//trim the final comma and space
|
q.Length=q.Length-2;//trim the final comma and space
|
||||||
|
|
||||||
q.Append(" FROM asearchdictionary INNER JOIN asearchkey ON asearchdictionary.id = asearchkey.wordid GROUP BY asearchkey.objectid, asearchkey.atype) SELECT objectid, atype FROM qr WHERE ");
|
q.Append(" FROM asearchdictionary INNER JOIN asearchkey ON asearchdictionary.id = asearchkey.wordid GROUP BY asearchkey.objectid, asearchkey.atype) SELECT atype, objectid FROM qr WHERE ");
|
||||||
|
|
||||||
for (; termCount > 0; termCount--)
|
for (; termCount > 0; termCount--)
|
||||||
q.Append($"st{termCount} > 0 {(termCount > 1 ? "AND " : "")}");
|
q.Append($"st{termCount} > 0 {(termCount > 1 ? "AND " : "")}");
|
||||||
|
|||||||
Reference in New Issue
Block a user