Commit e2ef7905 authored by shyWang's avatar shyWang

PDM前端改造

添加类型查询功能
parent dac003fb
......@@ -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