From 24ac6e50da797cc3372f67f346618be86b86c4d1 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 21 十一月 2025 15:06:15 +0800
Subject: [PATCH] 提交
---
CY_ECommercePlatform/CY.WebForm/Pages/common/CommonAjax.aspx.cs | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/common/CommonAjax.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/common/CommonAjax.aspx.cs
index 635df8e..af96671 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/common/CommonAjax.aspx.cs
+++ b/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 鏍规嵁鑱屼綅绫诲埆鑾峰彇鍏ㄩ儴鑱屼綅
--
Gitblit v1.9.1