/** 更新数据时 */
 public String updateVd(VmDrivertable vd) {
   VmDrivertable vs = dao.get(VmDrivertable.class, vd.getId());
   if (vs != null) {
     vs.setModydate(vd.getModydate());
     vs.setDrivingname(vd.getDrivingname());
     vs.setGender(vd.getGender());
     vs.setDrivingno(vd.getDrivingno());
     vs.setBirthday(vd.getBirthday());
     vs.setRegisterdate(vd.getRegisterdate());
     vs.setPapervaliddate(vd.getPapervaliddate());
     vs.setDrivingage(vd.getDrivingage());
     vs.setPhone(vd.getPhone());
     vs.setAllowdriving(vd.getAllowdriving());
     vs.setAddress(vd.getAddress());
     vs.setCheckrecord(vd.getCheckrecord());
     vs.setRemark(vd.getRemark());
     return MsgConfig.MSG_KEY_SUCCESS;
   } else {
     return "msg.update.content";
   }
 }