删除通过机构id查询机构名的方法

This commit is contained in:
liuhongrui
2025-02-25 16:40:30 +08:00
parent 6a5e6eb4b9
commit 80b2f04555
2 changed files with 0 additions and 22 deletions

View File

@@ -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);
} }

View File

@@ -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);
}
} }