username@email.com
4 天以前 e8e3122fdc4844202fb9e05477d47139e47a8aae
CY_ECommercePlatform/CY.WebForm/Pages/common/CommonAjax.aspx.cs
@@ -61,6 +61,9 @@
        OA_WageAwardPunishBLL bll_OA_WageAwardPunishBLL = null;
        OA_CustomerAccessRecordBLL bll_OA_CustomerAccessRecordBLL = null;
        OA_GongzuozhizeBLL bll_OA_GongzuozhizeBLL = null;
        OA_GongzuoneirongBLL bll_OA_GongzuoneirongBLL = null;
        OA_GongzuoneirongCateBLL bll_OA_GongzuoneirongCateBLL = null;
        public string old_province = "";
        public string old_city = "";
@@ -105,6 +108,8 @@
            bll_OA_WageAwardPunishBLL = new OA_WageAwardPunishBLL();
            bll_OA_CustomerAccessRecordBLL = new OA_CustomerAccessRecordBLL();
            bll_OA_GongzuozhizeBLL = new OA_GongzuozhizeBLL();
            bll_OA_GongzuoneirongCateBLL = new OA_GongzuoneirongCateBLL();
            bll_OA_GongzuoneirongBLL = new OA_GongzuoneirongBLL();
        }
        protected void Page_Load(object sender, EventArgs e)
@@ -242,6 +247,10 @@
            {
                Response.Write(IsExitsPropertyCateName(Request["name"], Request["keyid"]));
            }
            else if (Request["dateType"] == "GongzuoneirongCatecheckname")
            {
                Response.Write(IsExitsGongzuoneirongCatecheckName(Request["name"], Request["keyid"]));
            }
            else if (Request["dateType"] == "propertyNamecheckname")
            {
                Response.Write(IsExitsPropertyNameCateName(Request["name"], Request["keyid"]));
@@ -261,6 +270,18 @@
                    Response.Write(IsExitsGongzuozhizeName(Request["name"], Request["keyid"]));
                }
               
            }
            else if (Request["dateType"] == "Gongzuoneirongckname")
            {
                if (string.IsNullOrEmpty(Request["name"]))
                {
                    Response.Write(1);
                }
                else
                {
                    Response.Write(IsExitsGongzuoneirongName(Request["name"], Request["keyid"],Request["neirong"]));
                }
            }
            else if (Request["dateType"] == "resumeCateChange")
            {
@@ -1427,6 +1448,18 @@
            return bll_OA_PropertyCateBLL.IsExitsName(Name, CurrentUser.MemberId, Keyid);
        }
        /// <summary>
        /// 检测行政物品分类是否重复
        /// </summary>
        /// <param name="Name"></param>
        /// <param name="Keyid"></param>
        /// <returns></returns>
        public int IsExitsGongzuoneirongCatecheckName(string Name, string Keyid)
        {
            return bll_OA_GongzuoneirongCateBLL.IsExitsName(Name, CurrentUser.MemberId, Keyid);
        }
        #endregion
        #region 检测行政物品是否重复
@@ -1470,6 +1503,18 @@
            return bll_OA_GongzuozhizeBLL.IsExitsName(Name.ToInt32(), Keyid.ToInt32());
        }
        /// <summary>
        /// 检测行政物品是否重复
        /// </summary>
        /// <param name="Name"></param>
        /// <param name="Keyid"></param>
        /// <returns></returns>
        public int IsExitsGongzuoneirongName(string Name, string Keyid,string txtCarNumbera)
        {
            return bll_OA_GongzuoneirongBLL.IsExitsName(Name.ToInt32(), Keyid.ToInt32(), txtCarNumbera);
        }
        #endregion
        #region 根据职位类别获取全部职位