81,092
社区成员
发帖
与我相关
我的任务
分享
if(sjzdflmcs[i].equals("")){
List<Sjzdxx> list = sjzdxxService.getAllSjzdxxBySjzdfl(sjzdflService.getSjzdflId(sjzdflIds[i]));
for (Sjzdxx sjzdxx : list) {
sjzdxx.setSjzdxxName("");
sjzdxx.setQiyong("no");
sjzdxxService.UpdateSjzdxx(sjzdxx);
}
}
public Sjzdfl getSjzdflId(Integer sjzdflId) {
return (Sjzdfl)sjzdflDAO.findByProperty("sjzdflId", sjzdflId).get(0);
}
public Sjzdfl findById(java.lang.Integer id) {
log.debug("getting Sjzdfl instance with id: " + id);
try {
Sjzdfl instance = (Sjzdfl) getSession()
.get("com.yyc.po.Sjzdfl", id);
System.out.println(instance.getSjzdflName());
return instance;
} catch (RuntimeException re) {
log.error("get failed", re);
throw re;
}
}