* @author tianshaojie
* @date 2011-8-27
* @discription : 保存机构人员权限
*/
public void saveJgryQx(String czyid, String czlbIds) {
this.baseDaoEntity.getHibernateDao().delete(new GG_LBFP(), new StringBuffer(" fpid = '" + czyid + "'"));
if (czlbIds != null && czlbIds.length() > 0) {
String[] czlbIdsArr = czlbIds.split(",");
List gg_lbfpList = new ArrayList();
for(String lbid : czlbIdsArr) {
GG_LBFP gg_lbfp = new GG_LBFP();
gg_lbfp.setFpid(czyid);
gg_lbfp.setGG_CZLB(new GG_CZLB(lbid));
gg_lbfpList.add(gg_lbfp);
}
this.baseDaoEntity.getHibernateDao().save(gg_lbfpList);
}
}