博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年8月7日

摘要: 实体定义文件 实体定义文件一般存放位置是在对应模块的entity文件夹下面,以party为例,party的实体定义文件路径为 %ofbiz-home%\applications\party\entitydef\entitymodel.xml。 通过对应模块的ofbiz-component.xml进行加载。 [html]view plaincopy实体类型 普通实体 [html]view plaincopyThereshouldbeonerecordforeachtenantandeachgroup-mapfortheactivedelegator.Thejdbcfieldswilloverri 阅读全文

posted @ 2013-08-07 14:55 love楠 阅读(982) 评论(0) 推荐(0) 编辑

摘要: 实现一:Screem.xml中的section里,加,加get-related实现二:在代码中使用DynamicViewEntity对象,加入addMemberEntity,addAlias,addViewLink,再用find查询DynamicViewEntity dve = new DynamicViewEntity(); dve.addMemberEntity("TMP", GlobalConstant.TRUST_MALL_PRODUCT_ENTITY_NAME); dve.addAlias("TMP", "productId" 阅读全文

posted @ 2013-08-07 14:24 love楠 阅读(879) 评论(0) 推荐(0) 编辑