Java 类ims.ocrr.vo.domain.PathInvDetailsVoAssembler 实例源码

项目:AvoinApotti    文件:MyOrderImpl.java   
public PathInvDetailsVo getPathInvDetailsForInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();

    List invDetails = factory.find("select inv.pathInvDetails from Investigation inv where inv.id = :idInv", new String[]{"idInv"}, new Object[]{idInvestigation});
    if (invDetails != null && invDetails.size() > 0)
        return PathInvDetailsVoAssembler.createPathInvDetailsVoCollectionFromPathInvDetails(invDetails).get(0);

    return null;
}
项目:openMAXIMS    文件:MyOrderImpl.java   
public PathInvDetailsVo getPathInvDetailsForInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();

    List invDetails = factory.find("select inv.pathInvDetails from Investigation inv where inv.id = :idInv", new String[]{"idInv"}, new Object[]{idInvestigation});
    if (invDetails != null && invDetails.size() > 0)
        return PathInvDetailsVoAssembler.createPathInvDetailsVoCollectionFromPathInvDetails(invDetails).get(0);

    return null;
}
项目:openMAXIMS    文件:MyOrderImpl.java   
public PathInvDetailsVo getPathInvDetailsForInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();

    List invDetails = factory.find("select inv.pathInvDetails from Investigation inv where inv.id = :idInv", new String[]{"idInv"}, new Object[]{idInvestigation});
    if (invDetails != null && invDetails.size() > 0)
        return PathInvDetailsVoAssembler.createPathInvDetailsVoCollectionFromPathInvDetails(invDetails).get(0);

    return null;
}
项目:openmaxims-linux    文件:MyOrderImpl.java   
public PathInvDetailsVo getPathInvDetailsForInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();

    List invDetails = factory.find("select inv.pathInvDetails from Investigation inv where inv.id = :idInv", new String[]{"idInv"}, new Object[]{idInvestigation});
    if (invDetails != null && invDetails.size() > 0)
        return PathInvDetailsVoAssembler.createPathInvDetailsVoCollectionFromPathInvDetails(invDetails).get(0);

    return null;
}