Beispiel #1
0
        internal void sendTheBill()
        {
            bool m_blhave = false;
            //检查当前是否有还没有已确认是否需要费用审核 0-否 1-是的但已审核但还没有发送的医嘱申请单
            long lngRes = m_objManage.m_lngCheckTheExecuteBill(m_strCurrentRegisterID, out m_blhave);

            if (m_blhave)
            {
                IPutMadicine madicine;
                ArrayList    m_arrRegisterid = new ArrayList();
                m_arrRegisterid.Add(m_strCurrentRegisterID);
                madicine = PutMadicineFactory.GetInstance();
                long ret = madicine.CreatePutMedDetail(m_arrRegisterid, this.m_objViewer.LoginInfo.m_strEmpID);
                if (ret > 0)
                {
                    MessageBox.Show("已成功发送完毕!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
            }
            //else
            //{
            //    MessageBox.Show("当前没有已审核但还没有发送的医嘱申请单!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information);
            //    return;
            //}
        }