Hibernate数据保存提示一条数据重复修改
public void removeCMNNursingPlanDiseaseDegreeDetailNew(
DiseaseDegreeDetailNew detail) {
DiseaseDegreeDetailNew detailTemp = (DiseaseDegreeDetailNew) this.getSession().get(DiseaseDegreeDetailNew.class, detail.getId());
if(detailTemp != null)
this.getSession().evict(detailTemp);
}