Merge branch 'master' of codeup.aliyun.com:61c0318acd8b75daa5a125f7/medical/openhis
This commit is contained in:
@@ -13,12 +13,4 @@ import com.openhis.administration.domain.Organization;
|
|||||||
public interface IOrganizationService extends IService<Organization> {
|
public interface IOrganizationService extends IService<Organization> {
|
||||||
Page<Organization> getOrganizationPage(Integer classEnum, Integer activeFlag, Integer pageNo, Integer pageSize);
|
Page<Organization> getOrganizationPage(Integer classEnum, Integer activeFlag, Integer pageNo, Integer pageSize);
|
||||||
|
|
||||||
/**
|
|
||||||
* 通过机构ID查询机构名称
|
|
||||||
*
|
|
||||||
* @param busNo 机构ID
|
|
||||||
* @return 机构名称
|
|
||||||
*/
|
|
||||||
Organization getByBusNo(String busNo);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -51,18 +51,4 @@ public class OrganizationServiceImpl extends ServiceImpl<OrganizationMapper, Org
|
|||||||
return organizationPage;
|
return organizationPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 通过机构ID查询机构名称
|
|
||||||
*
|
|
||||||
* @param busNo 机构ID
|
|
||||||
* @return 机构名称
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Organization getByBusNo(String busNo) {
|
|
||||||
QueryWrapper<Organization> queryWrapper = new QueryWrapper<>();
|
|
||||||
// 设置查询条件为机构Id code
|
|
||||||
queryWrapper.eq("bus_no", busNo);
|
|
||||||
return organizationMapper.selectOne(queryWrapper);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user