String usercodemessage = "";
/**
* 搜寻父结点(获得用户部门信息)
*/
public String searchTreeFatherNood(TCsDept tCsDept) {
if (tCsDept.getFathercode().equals("")) {
usercodemessage = tCsDept.getDeptname() + "/" + usercodemessage;
} else {
usercodemessage = tCsDept.getDeptname() + "/" + usercodemessage;
TCsDept tCsDept2 = (TCsDept) userDao.fetchQuerister().loadObject(
TCsDept.class, tCsDept.getFathercode());
searchTreeFatherNood(tCsDept2);
}
return usercodemessage;
}