java类ims.core.vo.ClinicListVo的实例源码

OrganisationAndLocationImpl.java 文件源码 项目:AvoinApotti 阅读 21 收藏 0 点赞 0 评论 0
public ClinicListVoCollection listLocationsMin(LocationType locType)
{
    DomainFactory factory = getDomainFactory();
    ClinicListVoCollection voCollReturn = new ClinicListVoCollection();
    List lstClinics = factory.find("from Location l where l.type = :type and l.isActive= :isActive and l.isVirtual= :isVirtual", new String[]{"type", "isActive", "isVirtual"}, new Object[]{getDomLookup(locType), Boolean.TRUE, Boolean.FALSE});//wdev-2730

    for (Iterator iter = lstClinics.iterator(); iter.hasNext();)
    {
        Location doLocation = (Location) iter.next();
        ClinicListVo voBaseList = new ClinicListVo();
        voBaseList.setSingleID(doLocation.getId());
        voBaseList.setBoolValue(doLocation.isIsActive());
        voBaseList.setName(doLocation.getName());
        voBaseList.setDescription(doLocation.getExtCode(TaxonomyType.PAS.getId()));

        voCollReturn.add(voBaseList);
    }

    return voCollReturn;
}
OrganisationAndLocationImpl.java 文件源码 项目:openMAXIMS 阅读 20 收藏 0 点赞 0 评论 0
public ClinicListVoCollection listLocationsMin(LocationType locType)
{
    DomainFactory factory = getDomainFactory();
    ClinicListVoCollection voCollReturn = new ClinicListVoCollection();
    List lstClinics = factory.find("from Location l where l.type = :type and l.isActive= :isActive and l.isVirtual= :isVirtual", new String[]{"type", "isActive", "isVirtual"}, new Object[]{getDomLookup(locType), Boolean.TRUE, Boolean.FALSE});//wdev-2730

    for (Iterator iter = lstClinics.iterator(); iter.hasNext();)
    {
        Location doLocation = (Location) iter.next();
        ClinicListVo voBaseList = new ClinicListVo();
        voBaseList.setSingleID(doLocation.getId());
        voBaseList.setBoolValue(doLocation.isIsActive());
        voBaseList.setName(doLocation.getName());
        voBaseList.setDescription(doLocation.getExtCode(TaxonomyType.PAS.getId()));

        voCollReturn.add(voBaseList);
    }

    return voCollReturn;
}
OrganisationAndLocationImpl.java 文件源码 项目:openMAXIMS 阅读 18 收藏 0 点赞 0 评论 0
public ClinicListVoCollection listLocationsMin(LocationType locType)
{
    DomainFactory factory = getDomainFactory();
    ClinicListVoCollection voCollReturn = new ClinicListVoCollection();
    List lstClinics = factory.find("from Location l where l.type = :type and l.isActive= :isActive and l.isVirtual= :isVirtual", new String[]{"type", "isActive", "isVirtual"}, new Object[]{getDomLookup(locType), Boolean.TRUE, Boolean.FALSE});//wdev-2730

    for (Iterator iter = lstClinics.iterator(); iter.hasNext();)
    {
        Location doLocation = (Location) iter.next();
        ClinicListVo voBaseList = new ClinicListVo();
        voBaseList.setSingleID(doLocation.getId());
        voBaseList.setBoolValue(doLocation.isIsActive());
        voBaseList.setName(doLocation.getName());
        voBaseList.setDescription(doLocation.getExtCode(TaxonomyType.PAS.getId()));

        voCollReturn.add(voBaseList);
    }

    return voCollReturn;
}
OrganisationAndLocationImpl.java 文件源码 项目:openmaxims-linux 阅读 20 收藏 0 点赞 0 评论 0
public ClinicListVoCollection listLocationsMin(LocationType locType)
{
    DomainFactory factory = getDomainFactory();
    ClinicListVoCollection voCollReturn = new ClinicListVoCollection();
    List lstClinics = factory.find("from Location l where l.type = :type and l.isActive= :isActive and l.isVirtual= :isVirtual", new String[]{"type", "isActive", "isVirtual"}, new Object[]{getDomLookup(locType), Boolean.TRUE, Boolean.FALSE});//wdev-2730

    for (Iterator iter = lstClinics.iterator(); iter.hasNext();)
    {
        Location doLocation = (Location) iter.next();
        ClinicListVo voBaseList = new ClinicListVo();
        voBaseList.setSingleID(doLocation.getId());
        voBaseList.setBoolValue(doLocation.isIsActive());
        voBaseList.setName(doLocation.getName());
        voBaseList.setDescription(doLocation.getExtCode(TaxonomyType.PAS.getId()));

        voCollReturn.add(voBaseList);
    }

    return voCollReturn;
}


问题


面经


文章

微信
公众号

扫码关注公众号