Exemple #1
0
        /// <summary>
        /// 查询案件基本信息
        /// </summary>
        /// <param name="bmsah">部门受案号</param>
        /// <param name="ajlbbm">角色案件类别权限</param>
        /// <param name="caseRoleList">人员案件权限</param>
        /// <param name="ajmc">案件名称</param>
        /// <param name="slrq_s">受理日期开始</param>
        /// <param name="slrq_e">受理日期结束</param>
        /// <param name="cbrxm">承办人姓名</param>
        /// <param name="ajglzt">案件关联状态</param>
        /// <param name="pageSize">每页数</param>
        /// <param name="currentPage">当前第几页</param>
        /// <returns></returns>
        public List <ZC57s.CaseInfoServ.DigitalDossier.ICInterface.ClsAJJBXX> GetAjjbxx(string bmsah, List <string> ajlbbm, List <string> caseRoleList, List <string> dwbm, string ajmc, DateTime?slrq_s, DateTime?slrq_e, string cbrxm, string ajglzt, bool PowerEnable, int pageSize, int currentPage, out int count, out string msg)
        {
            var ajjbxxList = new List <ZC57s.CaseInfoServ.DigitalDossier.ICInterface.ClsAJJBXX>();

            try
            {
                var ajsp = new ZC57s.CaseInfoServ.DigitalDossier.ICInterface.AjjbxxSearchParam();
                var spp  = new ZC57s.CaseInfoServ.DigitalDossier.ICInterface.SearchPageParam();
                ajsp.BMSAH = bmsah;
                if (ajlbbm != null)
                {
                    ajsp.LstPowerAJLBBM = new List <string>();
                    ajsp.LstPowerAJLBBM.AddRange(ajlbbm);
                }
                if (dwbm != null)
                {
                    ajsp.LstPowerDWBM = new List <string>();
                    ajsp.LstPowerDWBM.AddRange(dwbm);
                }

                ajsp.AJMC        = ajmc;
                ajsp.SLRQ_Start  = slrq_s;
                ajsp.SLRQ_End    = slrq_e;
                ajsp.CBRXM       = cbrxm;
                ajsp.PageSize    = pageSize;
                ajsp.CurrentPage = currentPage;
                ajsp.IsNeedCount = true;
                ajsp.PowerEnable = PowerEnable;
                ajsp.SFZZ        = ajglzt;
                ZC57s.CaseInfoServ.DigitalDossier.ICInterface.DigitalDossierServicePrx prx = GetDossierService();
                ajjbxxList = prx.GetAjjbxx(ajsp, out spp, out msg).ToList();

                if (spp != null)
                {
                    count = spp.Count;
                }
                else
                {
                    count = 0;
                }
            }
            catch (Exception ex)
            {
                count = 0;
                if (ex.InnerException != null)
                {
                    msg = ex.InnerException.Message.ToString();
                }
                else
                {
                    msg = ex.Message.ToString();
                }
                LogHelper.LogError(null, "Ice", msg, "GetAjjbxx", "IceServicePrx");
            }

            return(ajjbxxList);
        }
Exemple #2
0
        /// <summary>
        /// 查询案件基本信息数量
        /// </summary>
        /// <param name="ajlbbm">角色案件类别权限</param>
        /// <param name="dwbm">单位编码集合</param>
        /// <param name="slrq_s">受理日期开始</param>
        /// <param name="slrq_e">受理日期结束</param>
        /// <param name="ajglzt">案件关联状态</param>
        /// <param name="pageSize">每页数</param>
        /// <param name="currentPage">当前第几页</param>
        /// <returns></returns>
        public int GetAjjbxxCount(List <string> ajlbbm, string dwbm, DateTime?slrq_s, DateTime?slrq_e, bool PowerEnable, out string msg)
        {
            var ajjbxxList = new List <ZC57s.CaseInfoServ.DigitalDossier.ICInterface.ClsAJJBXX>();

            try
            {
                var ajsp = new ZC57s.CaseInfoServ.DigitalDossier.ICInterface.AjjbxxSearchParam();
                var spp  = new ZC57s.CaseInfoServ.DigitalDossier.ICInterface.SearchPageParam();
                ajsp.BMSAH = "";
                //if (ajlbbm != null)
                //{
                //    ajsp.LstPowerAJLBBM = new List<string>();
                //    ajsp.LstPowerAJLBBM.AddRange(ajlbbm);
                //}
                //if (dwbm != null)
                //{
                //    ajsp.LstPowerDWBM = new List<string>();
                //    ajsp.LstPowerDWBM.Add(dwbm);
                //}
                ajsp.DWBM        = dwbm;
                ajsp.AJMC        = "";
                ajsp.SLRQ_Start  = slrq_s;
                ajsp.SLRQ_End    = slrq_e;
                ajsp.CBRXM       = "";
                ajsp.PageSize    = 0;
                ajsp.CurrentPage = 0;
                ajsp.IsNeedCount = true;
                ajsp.PowerEnable = false;
                ajsp.SFZZ        = "";
                ZC57s.CaseInfoServ.DigitalDossier.ICInterface.DigitalDossierServicePrx prx = GetDossierService();
                prx.GetAjjbxx(ajsp, out spp, out msg);

                if (spp != null)
                {
                    return(spp.Count);
                }
                //count = spp.Count;
                //else
                //    count = 0;
            }
            catch (Exception ex)
            {
                if (ex.InnerException != null)
                {
                    msg = ex.InnerException.Message.ToString();
                }
                else
                {
                    msg = ex.Message.ToString();
                }
                LogHelper.LogError(null, "Ice", msg, "GetAjjbxx", "IceServicePrx");
            }

            return(0);
        }