docId = pEntity.getIdBirth(); String tblNm = getDrawItemEntryClass().getSimpleName().toUpperCase(); if (pEntity instanceof IDrawItemSource) { where = " where SOURCETYPE=" + pEntity.constTypeCode() if (where != null) { result = getSrvOrm().retrieveListWithConditions(pAddParam, getDrawItemEntryClass(), where); where = null; if (result == null) { result = getSrvOrm().retrieveListWithConditions(pAddParam, getDrawItemEntryClass(), where); } else { result.addAll(getSrvOrm().retrieveListWithConditions(pAddParam, getDrawItemEntryClass(), where)); if (result == null) { result = getSrvOrm().retrieveListWithConditions(pAddParam, getDrawItemEntryClass(), where); } else { result.addAll(getSrvOrm().retrieveListWithConditions(pAddParam, getDrawItemEntryClass(), where));
docId = pEntity.getIdBirth(); String tblNm = getDrawItemEntryClass().getSimpleName().toUpperCase(); if (pEntity instanceof IDrawItemSource) { where = " where SOURCETYPE=" + pEntity.constTypeCode() if (where != null) { result = getSrvOrm().retrieveListWithConditions( getDrawItemEntryClass(), where); where = null; if (result == null) { result = getSrvOrm().retrieveListWithConditions( getDrawItemEntryClass(), where); } else { result.addAll(getSrvOrm().retrieveListWithConditions( getDrawItemEntryClass(), where)); if (result == null) { result = getSrvOrm().retrieveListWithConditions( getDrawItemEntryClass(), where); } else { result.addAll(getSrvOrm().retrieveListWithConditions( getDrawItemEntryClass(), where));
"can_not_make_di_entry_for_foreign_src"); String tblNm = getDrawItemEntryClass().getSimpleName().toUpperCase(); List<T> diel = getSrvOrm().retrieveListWithConditions(pAddParam, getDrawItemEntryClass(), " where DRAWINGTYPE=" + pEntity.constTypeCode() + " and " + tblNm + ".IDDATABASEBIRTH=" + getSrvOrm().getIdDatabase() + " and DRAWINGID=" + pEntity.getReversedId());
"can_not_make_di_entry_for_foreign_src"); String tblNm = getDrawItemEntryClass().getSimpleName().toUpperCase(); List<T> diel = getSrvOrm().retrieveListWithConditions( getDrawItemEntryClass(), " where DRAWINGTYPE=" + pEntity.constTypeCode() + " and " + tblNm + ".IDDATABASEBIRTH=" + getSrvOrm().getIdDatabase() + " and DRAWINGID=" + pEntity.getReversedId());