提交代码
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user