Uat_Study
parent
d3ea27eb3e
commit
4c7fad02b2
|
@ -183,7 +183,7 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
|||
/// <summary>
|
||||
/// 子类
|
||||
/// </summary>
|
||||
public string ChildrenType { get; set; }
|
||||
public string ChildrenType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 修改原因
|
||||
|
|
|
@ -70,7 +70,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
|||
|
||||
query = query.WhereIf(!dto.BlindName.IsNullOrEmpty(), x => x.BlindName == dto.BlindName)
|
||||
.WhereIf(dto.IsSign != null, x => x.IsSign == dto.IsSign)
|
||||
.WhereIf(dto.ChildrenType != null, x => x.ChildrenType == dto.ChildrenType)
|
||||
.WhereIf(!dto.ChildrenType.IsNullOrEmpty(), x => x.ChildrenType == dto.ChildrenType)
|
||||
.WhereIf(!dto.ModuleType.IsNullOrEmpty(), x => x.ModuleType == dto.ModuleType)
|
||||
.WhereIf(!dto.OptType.IsNullOrEmpty(), x => x.OptType == dto.OptType)
|
||||
.WhereIf(!dto.Reason.IsNullOrEmpty(), x => x.Reason == dto.Reason)
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
using AutoMapper;
|
||||
using AutoMapper.EquivalencyExpression;
|
||||
using IRaCIS.Application.Contracts;
|
||||
using IRaCIS.Core.Application.Contracts;
|
||||
using IRaCIS.Core.Application.Contracts.DTO;
|
||||
using IRaCIS.Core.Application.Service.Inspection.DTO;
|
||||
using IRaCIS.Core.Application.ViewModel;
|
||||
using IRaCIS.Core.Domain.Models;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
|
||||
namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
public class InspectionConfig : Profile
|
||||
{
|
||||
public InspectionConfig()
|
||||
{
|
||||
|
||||
|
||||
|
||||
CreateMap<DataInspectionAddDTO, DataInspection>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue