Exemple #1
0
 private void frmAOTransfer_Load(object sender, System.EventArgs e)
 {
     m_objLoginInfo = this.LoginInfo;
     ((clsCtl_AOTransfer)this.objController).m_strOperatorID = m_objLoginInfo.m_strEmpID;
     ((clsCtl_AOTransfer)this.objController).m_LoadData();
     ((clsCtl_AOTransfer)this.objController).m_Initialization();
 }
 private void frmHandworkContinuousOrder_Load(object sender, System.EventArgs e)
 {
     m_objLoginInfo = this.LoginInfo;
     ((clsCtl_HandworkContinuousOrder)this.objController).m_strOperatorID   = m_objLoginInfo.m_strEmpID;
     ((clsCtl_HandworkContinuousOrder)this.objController).m_strOperatorName = m_objLoginInfo.m_strEmpName;
     ((clsCtl_HandworkContinuousOrder)this.objController).m_LoadMoneyForContinuousOrder();
 }
Exemple #3
0
 private void frmNeedFeel_Load(object sender, System.EventArgs e)
 {
     m_mthSetEnter2Tab(new System.Windows.Forms.Control[] {});
     //((clsCtl_NeedFeel)this.objController).LoadData();
     m_objLoginInfo = this.LoginInfo;
     ((clsCtl_NeedFeel)this.objController).m_strOperatorID = m_objLoginInfo.m_strEmpID;
     ((clsCtl_NeedFeel)this.objController).SetVo(this.p_objRecord);
 }
Exemple #4
0
        public long GetPrjCommonUseInfo(System.Security.Principal.IPrincipal p_objPrincipal, com.digitalwave.iCare.ValueObject.clsLoginInfo p_loginInfo, out System.Data.DataTable p_outdtResult)
        {
            long lngRes = 0;

            p_outdtResult = new System.Data.DataTable();
            clsPrivilegeHandleService objPrivilege = new clsPrivilegeHandleService();

            lngRes = objPrivilege.m_lngCheckCallPrivilege(p_objPrincipal, "com.digitalwave.iCare.middletier.HIS", "GetMedCommonUseInfo");
            if (lngRes < 0)
            {
                return(-1);
            }
            string strSQL = @"select f.itemid_chr,F.SEQID_CHR,e.itemcode_vchr,f.deptid_chr,g.deptname_vchr,f.createrid_chr,f.privilege_int,
								decode(f.privilege_int,0,'个人',1,'科室') as privilege_name,e.itemname_vchr,
								e.itemspec_vchr,h.NOQTYFLAG_INT
								from T_AID_COMUSECHARGEITEM f, t_Bse_Chargeitem e,t_bse_deptdesc g ,t_bse_medicine h
								where f.itemid_chr = e.itemid_chr(+)
								and f.TYPE_INT=1
								and f.deptid_chr = g.deptid_chr(+) 
								and e.ITEMSRCID_VCHR=h.MEDICINEID_CHR
								and e.ITEMSRCTYPE_INT=1
								and f.createrid_chr = '"                                 + p_loginInfo.m_strEmpID + @"'
                and f.itemid_chr not in( 
                select f.itemid_chr
								from T_AID_COMUSECHARGEITEM f, t_Bse_Chargeitem e,t_bse_deptdesc g 
								where f.itemid_chr = e.itemid_chr(+)

								and f.TYPE_INT=1
								and f.deptid_chr = g.deptid_chr(+) 
								and (f.deptid_chr in 
                (select a.deptid_chr from t_bse_deptemp a where a.empid_chr = '" + p_loginInfo.m_strEmpID + @"')) 
                )               
                union
                select f.itemid_chr,F.SEQID_CHR,e.itemcode_vchr,f.deptid_chr,g.deptname_vchr,f.createrid_chr,f.privilege_int,
								decode(f.privilege_int,0,'个人',1,'科室') as privilege_name,e.itemname_vchr,
								e.itemspec_vchr,h.NOQTYFLAG_INT
								from T_AID_COMUSECHARGEITEM f, t_Bse_Chargeitem e,t_bse_deptdesc g ,t_bse_medicine h
								where f.itemid_chr = e.itemid_chr(+)
								and f.TYPE_INT=1
								and f.deptid_chr = g.deptid_chr(+) 
								and e.ITEMSRCID_VCHR=h.MEDICINEID_CHR
								and e.ITEMSRCTYPE_INT=1
								and (f.deptid_chr in
                (select a.deptid_chr from t_bse_deptemp a where a.empid_chr = '" + p_loginInfo.m_strEmpID + @"')) order by itemcode_vchr";

            try
            {
                com.digitalwave.iCare.middletier.HRPService.clsHRPTableService objHRPSvc = new clsHRPTableService();
                lngRes = objHRPSvc.lngGetDataTableWithoutParameters(strSQL, ref p_outdtResult);
            }
            catch (Exception objEx)
            {
                string strTmp = objEx.Message;
                com.digitalwave.Utility.clsLogText objLogger = new clsLogText();
                bool blnRes = objLogger.LogError(objEx);
            }
            return(lngRes);
        }
Exemple #5
0
 public void SetCurrentDoctor(com.digitalwave.iCare.ValueObject.clsLoginInfo loginInfo)
 {
     this.m_strOperatorID = loginInfo.m_strEmpID;
 }
Exemple #6
0
 public void setDoctor(com.digitalwave.iCare.ValueObject.clsLoginInfo loginInfo)
 {
     this.LoginInfo = loginInfo;
     DoctorID       = loginInfo.m_strEmpID;
 }
Exemple #7
0
 public void setLoginDoctor(com.digitalwave.iCare.ValueObject.clsLoginInfo loginInfo)
 {
     this.LoginInfo = loginInfo;
     this.setDoctor(loginInfo);
 }