Пример #1
0
 /*读取处方单*/
 public PrescriptionInfo GetPrescriptionInfo(string userID, string password, string sPrescriptionID) {
     UserService userService = new UserService();
     UserInfo userInfo = userService.Login(userID, password);
     if (userInfo.ErrorMessage == null) {
         return userService.GetPrescriptionInfo(sPrescriptionID);
     }
     else {
         PrescriptionInfo    prescriptionInfo =  new PrescriptionInfo();
         prescriptionInfo.ErrorMessage = userInfo.ErrorMessage;
         return prescriptionInfo;
     }
 }