select * from dproduct where gid='317'