fix "id" bug, avoiding listing all companies/agents when only try to list parts

fix "id" bug, avoiding listing all companies/agents when only try to list parts

Signed-off-by: RayAllen <ray@ray-Lenovo-IdeaPad-S400.(none)>