Пример #1
0
 /// <summary>
 /// 对已打印的摆药单进行核准处理(摆药核准)
 /// writed by cuipeng
 /// 2005-1
 /// 操作如下:
 /// 1、如果需要在核准时出库,则进行出库处理。并取得applyOut.OutBillCode
 /// 2、如果该记录未收费,则处理费用信息,否则更新费用表中的发药状态和出库流水号
 /// 3、核准摆药单
 /// </summary>
 /// <param name="arrayApplyOut">出库申请信息</param>
 /// <param name="approveOperCode">核准人(摆药人)</param>
 /// <param name="deptCode">核准科室</param>
 /// <returns>1成功,-1失败</returns>
 internal static int DrugApprove(ArrayList arrayApplyOut, string approveOperCode, string deptCode, System.Data.IDbTransaction trans)
 {
     Neusoft.HISFC.BizProcess.Integrate.Pharmacy pharmacyIntegrate = new Neusoft.HISFC.BizProcess.Integrate.Pharmacy();
     if (pharmacyIntegrate.InpatientDrugApprove(arrayApplyOut, approveOperCode, deptCode, trans) != 1)
     {
         System.Windows.Forms.MessageBox.Show(pharmacyIntegrate.Err);
         return(-1);
     }
     return(1);
 }