提交代码
This commit is contained in:
@@ -65,10 +65,10 @@ namespace BLL
|
||||
/// <param name="welderId"></param>
|
||||
/// <param name="welderCode"></param>
|
||||
/// <returns></returns>
|
||||
public static bool IsExisWelderCode(string welderId, string welderCode)
|
||||
public static bool IsExisWelderCode(string welderId, string welderCode, string projectId)
|
||||
{
|
||||
bool isExitCode = false;
|
||||
var q = from x in Funs.DB.SitePerson_Person where x.WelderCode == welderCode && x.PersonId != welderId select x;
|
||||
var q = from x in Funs.DB.SitePerson_Person where x.WelderCode == welderCode && x.PersonId != welderId && x.ProjectId == projectId select x;
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
isExitCode = true;
|
||||
|
||||
Reference in New Issue
Block a user