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); } }
//删除一条处方记录 public static bool DeletePrescriptionData(int presListId) { PrescripttionDataSource.DeletePrescriptionData(presListId); return(true); }