Commit 2c5a919e authored by hanson.yao's avatar hanson.yao

Merge branch 'master' into master-cadpro

parents 2ccf859e e2ef7905
......@@ -242,7 +242,7 @@ public class DxSearchUtil implements RemoteAccess, Serializable {
TypeDefinitionReference tdr = TypedUtility.getTypeDefinitionReference(typeName);
if (ObjectsUtil.nonNull(tdr)) {
addQuerySpecOp(querySpec, operator);
SearchCondition typeDefinitionCondition = new SearchCondition(WTDocument.class,
SearchCondition typeDefinitionCondition = new SearchCondition(clazz,
WTDocument.TYPE_DEFINITION_REFERENCE + "." + TypeDefinitionReference.KEY + "." + TypeDefinitionForeignKey.BRANCH_ID,
SearchCondition.EQUAL, tdr.getKey().getBranchId());
querySpec.appendWhere(typeDefinitionCondition, new int[]{0});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment