20230704卡号空判断加空字符串判断
This commit is contained in:
@@ -518,7 +518,7 @@ namespace BLL
|
||||
{
|
||||
int count = 0;
|
||||
var getPersons = from x in db.SitePerson_Person
|
||||
where x.States == Const.State_1 && x.CardNo == null && x.ProjectId == projectId
|
||||
where x.States == Const.State_1 && (x.CardNo == null || x.CardNo =="" || x.CardNo.Length==0) && x.ProjectId == projectId
|
||||
select x;
|
||||
foreach (var item in getPersons)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user