删除通过机构id查询机构名的方法
This commit is contained in:
@@ -13,12 +13,4 @@ import com.openhis.administration.domain.Organization;
|
||||
public interface IOrganizationService extends IService<Organization> {
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过机构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