SELECT id,departname,parentdepartid FROM t_s_depart where parentdepartid = :pId