提交代码

This commit is contained in:
2023-11-23 18:52:01 +08:00
parent 1530dd850b
commit 56fe58fe54
19 changed files with 326 additions and 170 deletions
@@ -139,7 +139,7 @@ namespace FineUIPro.Web.CQMS.PersonManage
{
string PersonId = Request.Params["PersonId"];
var q = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.WelderCode == this.txtWelderCode.Text.Trim()
&& (x.PersonId != PersonId || (PersonId == null && PersonId != null)));
&& (x.PersonId != PersonId || (PersonId == null && PersonId != null)) && x.ProjectId == this.CurrUser.LoginProjectId);
if (q != null)
{
Alert.ShowInTop("焊工号已经存在!", MessageBoxIcon.Warning);