Package org.apdplat.platform.criteria

Examples of org.apdplat.platform.criteria.PropertyEditor


            //获取orgId的所有子机构的ID
            List<Integer> infoTypeIds=InfoTypeService.getChildIds(obj);
            //加上orgId
            infoTypeIds.add(obj.getId());
           
            PropertyEditor pe=new PropertyEditor("infoType.id", Operator.in, PropertyType.List, infoTypeIds);
            propertyCriteria.addPropertyEditor(pe);
           
            return propertyCriteria;
        }
         //infoTypeId==-1或infoTypeId<0代表为根节点,不加过滤条件
View Full Code Here

TOP

Related Classes of org.apdplat.platform.criteria.PropertyEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.