/**
  * 根据ID获得 IArchivesMedicalrecord
  *
  * @param context
  * @param request
  * @param pk
  */
 public ResultBean getIArchivesMedicalrecordByPk(
     ServletContext context, HttpServletRequest request, String pk) {
   IArchivesMedicalrecord iArchivesMedicalrecord =
       imedicalrecordService.getIArchivesMedicalrecordByPk(pk);
   logger.info("根据ID获得 IArchivesMedicalrecord...{}", iArchivesMedicalrecord.getPrimaryKey());
   return WebUtilWork.WebObjectPack(iArchivesMedicalrecord);
 }
 /**
  * 更新 IArchivesMedicalrecord
  *
  * @param context
  * @param request
  * @param iArchivesMedicalrecord
  */
 public ResultBean updateIArchivesMedicalrecord(
     ServletContext context,
     HttpServletRequest request,
     IArchivesMedicalrecord iArchivesMedicalrecord) {
   IArchivesMedicalrecord tmp =
       imedicalrecordService.getIArchivesMedicalrecordByPk(iArchivesMedicalrecord.getPrimaryKey());
   String empid = UtilTool.getEmployeeId(request);
   iArchivesMedicalrecord.initUpdate(empid);
   imedicalrecordService.saveIArchivesMedicalrecord(iArchivesMedicalrecord);
   logger.info("更新 IArchivesMedicalrecord...");
   return WebUtilWork.WebResultPack(null);
 }