Exemplo n.º 1
0
 public static bool DeletePrescriptionData(int presListId)
 {
     if (PrescripttionDbHelper != null)
     {
         return(PrescripttionDbHelper.DeletePrescriptionData(presListId));
     }
     else
     {
         string strsql = @"DELETE FROM emrdb..DATA_PrescriptionDetail WHERE ID ={0} and IsCharged=0";
         strsql = string.Format(strsql, presListId);
         MidDbHelper.ExecuteNonQuery(MidDbHelper.EmrHandle, strsql);
         return(true);
     }
 }
Exemplo n.º 2
0
 //删除一条处方记录
 public static bool DeletePrescriptionData(int presListId)
 {
     PrescripttionDataSource.DeletePrescriptionData(presListId);
     return(true);
 }