示例#1
0
 public boolean update() {
   setDateChanged(new Date());
   setChangedBy("CRS");
   boolean result = super.update();
   currAdd.setFk_PersonID(this.personID);
   permAdd.setFk_PersonID(this.personID);
   currAdd.setAddressType(Address.CURRENT_ADDRESS);
   permAdd.setAddressType(Address.PERMANENT_ADDRESS);
   currAdd.update();
   permAdd.update();
   return result;
 }