/// <summary> /// 操作员登陆信息查询 /// </summary> /// <param name="param"></param> /// <returns></returns> public QueryHospitalOperatorDto QueryHospitalOperator(QueryHospitalOperatorParam param) { using (var sqlConnection = new SqlConnection(_connectionString)) { var resultData = new QueryHospitalOperatorDto(); sqlConnection.Open(); string querySql = $"select top 1 F_Account as HisUserAccount,F_HisUserPwd as HisUserPwd,F_ManufacturerNumber as ManufacturerNumber from [dbo].[Sys_User] where [F_HisUserId]='{param.UserId}' "; var data = sqlConnection.QueryFirstOrDefault <QueryHospitalOperatorDto>(querySql); if (data != null) { resultData = data; } sqlConnection.Close(); return(resultData); } }
/// <summary> /// 医保登陆 /// </summary> /// <param name="param"></param> public void Login(QueryHospitalOperatorParam param) { var userBase = _webserviceBasicService.GetUserBaseInfo(param.UserId); _residentMedicalInsuranceRepository.Login(userBase.OrganizationCode); }