20230704卡号空判断加空字符串判断
This commit is contained in:
parent
9e33e4d6d3
commit
b68d5e0937
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue