提交代码
This commit is contained in:
@@ -112,6 +112,18 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
|
||||
public string ObjectTypeId { get; set; } = string.Empty;
|
||||
|
||||
public string ConfigType { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class ChangeFrontAuditSortDto
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class FrontAuditSort
|
||||
{
|
||||
//public Guid
|
||||
}
|
||||
|
||||
///<summary> FrontAuditConfigAddOrEdit 列表查询参数模型</summary>
|
||||
|
||||
@@ -158,11 +158,16 @@ namespace IRaCIS.Core.Application.Service
|
||||
.WhereIf(!iq.Code.IsNullOrEmpty(), x => x.Code == iq.Code)
|
||||
.WhereIf(!iq.ChildrenTypeId.IsNullOrEmpty(), x => x.ChildrenTypeId == iq.ChildrenTypeId)
|
||||
.WhereIf(!iq.ModuleTypeId.IsNullOrEmpty(), x => x.ModuleTypeId == iq.ModuleTypeId)
|
||||
.WhereIf(!iq.ObjectTypeId.IsNullOrEmpty(), x => x.ObjectTypeId == iq.ObjectTypeId);
|
||||
.WhereIf(!iq.ObjectTypeId.IsNullOrEmpty(), x => x.ObjectTypeId == iq.ObjectTypeId)
|
||||
.WhereIf(!iq.ConfigType.IsNullOrEmpty(), x => x.ConfigType == iq.ConfigType);
|
||||
|
||||
return await query.OrderBy(x=>x.Sort).ToListAsync();
|
||||
}
|
||||
|
||||
//public async Task<IResponseOutput> ChangeFrontAuditSort()
|
||||
//{
|
||||
// _frontAuditConfigRepository.UpdateFromQueryAsync(x=>)
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 新增或者修改
|
||||
|
||||
@@ -111,7 +111,8 @@ namespace IRaCIS.Application.Services
|
||||
SubjectId = subjectCommand.Id,
|
||||
SubjectCode = subjectCommand.Code,
|
||||
IsSign=false,
|
||||
Identification= "Subject|Init|Subject|Status",
|
||||
CreateTime = createtime,
|
||||
Identification = "Subject|Init|Subject|Status",
|
||||
JsonDetail= JsonConvert.SerializeObject(new {
|
||||
Status= "OnVisit",
|
||||
})
|
||||
|
||||
@@ -123,6 +123,8 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
await _repository.SaveChangesAsync();
|
||||
|
||||
//if(svCommand.)
|
||||
|
||||
// 保存数据后,重新算下是否缺失影像 应对状态撤回
|
||||
//if (svCommand.IsLostVisit == false)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user