|
@@ -58,6 +58,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
.WhereIF(dto.BeginCreationTime.HasValue && dto.EndCreationTime.HasValue, (redPackAudit, order, snapshot, record, industry) => order.CreationTime <= dto.EndCreationTime && order.CreationTime >= dto.BeginCreationTime)
|
|
|
.WhereIF(dto.IsDeal.HasValue, (redPackAudit, order, snapshot, record, industry) => snapshot.IsDeal == dto.IsDeal)
|
|
|
.WhereIF(dto.IsTruth.HasValue, (redPackAudit, order, snapshot, record, industry) => snapshot.IsTruth == dto.IsTruth)
|
|
|
+ .WhereIF(dto.IsTruthDepartment.HasValue, (redPackAudit, order, snapshot, record, industry) => snapshot.IsTruthDepartment == dto.IsTruthDepartment)
|
|
|
.WhereIF(dto.BeginAuditTime.HasValue && dto.EndAuditTime.HasValue, (redPackAudit, order, snapshot, record, industry) => redPackAudit.AuditTime <= dto.EndAuditTime && redPackAudit.AuditTime >= dto.BeginAuditTime)
|
|
|
.WhereIF(dto.IsIssued.HasValue, (redPackAudit, order, snapshot, record, industry) => redPackAudit.IsIssued == dto.IsIssued)
|
|
|
.WhereIF(dto.IndustryId.NotNullOrEmpty(), (redPackAudit, order, snapshot, record, industry) => snapshot.IndustryId == dto.IndustryId)
|
|
@@ -91,6 +92,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
IsDeal = snapshot.IsDeal,
|
|
|
NetworkENumber = snapshot.NetworkENumber,
|
|
|
IsTruth = snapshot.IsTruth,
|
|
|
+ IsTruthDepartment = snapshot.IsTruthDepartment,
|
|
|
IsRepetition = snapshot.IsRepetition,
|
|
|
CreationTime = order.CreationTime,
|
|
|
OrgLevelOneCode = order.OrgLevelOneCode,
|