通过EAS提供的对象获取数据方法时,可以通过selectorlItemConllection来过滤出只需要的字段
String entryId = String.valueOf(getUIContext().get("EntryID"));
SelectorItemCollection sicerci = new SelectorItemCollection(); 查询过滤对象类
sicerci.add("id"); 需要过滤出的字段
sicerci.add("parent.*");
sicerci.add("parent.weighType.*");
sicerci.add("weighUnit.*");
sicerci.add("opponentweight");
sicerci.add("opposingFirstWeigh");
WeighNoticeBillEntryInfo entryInfo = WeighNoticeBillEntryFactory.getRemoteInstance().getWeighNoticeBillEntryInfo(new ObjectUuidPK(entryId), sicerci);
获取对象方法 可以通过getValue来获取
如:
WeighNoticeBillEntryFactory.getRemoteInstance().getValue("where id= "+id);