}
return rands;
}
public void add() {
Employee pojo = new Employee();
Long id = getParaToLong(2, 0L);
Long pid = getParaToLong(1, 0L);
Long orgid = getParaToLong(0, 0L);
pojo.set("partmentid", pid);
pojo.set("orgid", orgid);
if (id != 0) {
pojo = Employee.dao.findById(id);
}
setAttr(OrgSelectTarget.targetName, new OrgSelectTarget());
setAttr(PartmentSelectTarget.targetName, new PartmentSelectTarget());