安全检查记录 null 处理
This commit is contained in:
parent
02285f4069
commit
79f17c96c6
@ -184,7 +184,10 @@ namespace APT.BaseData.Services.Services.BS
|
||||
if (DATA_ID_SUB.HasValue)
|
||||
expression = expression.And(e => e.DATA_ID_SUB.HasValue && e.DATA_ID_SUB == DATA_ID_SUB);
|
||||
var model = GetEntity(expression);
|
||||
model.OPERTETIME = DateTime.Now;
|
||||
if (model != null)
|
||||
{
|
||||
model.OPERTETIME = DateTime.Now;
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user