Merge branch 'master' of http://192.168.1.2:8033/IRaCIS_Core_Api
commit
90db06d241
|
@ -66,18 +66,18 @@ namespace IRaCIS.Core.API.Controllers
|
||||||
return await _inspectionService.GetInspectionData(dto);
|
return await _inspectionService.GetInspectionData(dto);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
///// <summary>
|
||||||
/// 用户 签名某个文档 签署文件
|
///// 用户 签名某个文档 签署文件
|
||||||
/// </summary>
|
///// </summary>
|
||||||
/// <param name="opt"></param>
|
///// <param name="opt"></param>
|
||||||
/// <returns></returns>
|
///// <returns></returns>
|
||||||
[HttpPost, Route("Inspection/trialDocument/userConfirm")]
|
//[HttpPost, Route("Inspection/trialDocument/userConfirm")]
|
||||||
[UnitOfWork]
|
//[UnitOfWork]
|
||||||
public async Task<IResponseOutput> UserConfirm(TrialDocumentConfirmDTO opt)
|
//public async Task<IResponseOutput> UserConfirm(TrialDocumentConfirmDTO opt)
|
||||||
{
|
//{
|
||||||
var fun = _trialDocumentService.UserConfirm;
|
// var fun = _trialDocumentService.UserConfirm;
|
||||||
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
|
// return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, fun);
|
||||||
}
|
//}
|
||||||
|
|
||||||
|
|
||||||
#region setting
|
#region setting
|
||||||
|
|
|
@ -158,13 +158,6 @@
|
||||||
</summary>
|
</summary>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.UserConfirm(IRaCIS.Core.Application.Service.Inspection.DTO.TrialDocumentConfirmDTO)">
|
|
||||||
<summary>
|
|
||||||
用户 签名某个文档 签署文件
|
|
||||||
</summary>
|
|
||||||
<param name="opt"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.AddOrUpdateSubject(IRaCIS.Core.Application.Service.Inspection.DTO.InsSubjectCommand)">
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.AddOrUpdateSubject(IRaCIS.Core.Application.Service.Inspection.DTO.InsSubjectCommand)">
|
||||||
<summary>
|
<summary>
|
||||||
添加或更新受试者信息[New]
|
添加或更新受试者信息[New]
|
||||||
|
|
|
@ -537,6 +537,27 @@
|
||||||
FrontAuditConfigService
|
FrontAuditConfigService
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.FrontAuditConfigService.GetFrontAuditConfigList(IRaCIS.Core.Application.ViewModel.FrontAuditConfigQuery)">
|
||||||
|
<summary>
|
||||||
|
获取列表
|
||||||
|
</summary>
|
||||||
|
<param name="iq"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.FrontAuditConfigService.AddOrUpdateFrontAuditConfig(IRaCIS.Core.Application.ViewModel.FrontAuditConfigAddOrEdit)">
|
||||||
|
<summary>
|
||||||
|
新增或者修改
|
||||||
|
</summary>
|
||||||
|
<param name="addOrEditFrontAuditConfig"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.FrontAuditConfigService.DeleteFrontAuditConfig(System.Guid)">
|
||||||
|
<summary>
|
||||||
|
删除
|
||||||
|
</summary>
|
||||||
|
<param name="frontAuditConfigId"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.Preview(System.Guid)">
|
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.Preview(System.Guid)">
|
||||||
<summary> 指定资源Id,渲染Dicom检查的Jpeg预览图像 </summary>
|
<summary> 指定资源Id,渲染Dicom检查的Jpeg预览图像 </summary>
|
||||||
<param name="studyId"> Dicom检查的Id </param>
|
<param name="studyId"> Dicom检查的Id </param>
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
public Guid? ParentId { get; set; }
|
public Guid? ParentId { get; set; }
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
public bool IsConfig { get; set; }
|
public bool IsConfig { get; set; }
|
||||||
public int? ModuleTypeId { get; set; }
|
public string ModuleTypeId { get; set; }
|
||||||
public string OptTypeId { get; set; }
|
public string OptTypeId { get; set; }
|
||||||
public string ChildrenTypeId { get; set; }
|
public string ChildrenTypeId { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
public Guid? ParentId { get; set; }
|
public Guid? ParentId { get; set; }
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
public bool IsConfig { get; set; }
|
public bool IsConfig { get; set; }
|
||||||
public int? ModuleTypeId { get; set; }
|
public string ModuleTypeId { get; set; }
|
||||||
public string OptTypeId { get; set; }
|
public string OptTypeId { get; set; }
|
||||||
public string ChildrenTypeId { get; set; }
|
public string ChildrenTypeId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,14 +8,14 @@ using IRaCIS.Core.Domain.Models;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using IRaCIS.Core.Application.Interfaces;
|
using IRaCIS.Core.Application.Interfaces;
|
||||||
using IRaCIS.Core.Application.ViewModel;
|
using IRaCIS.Core.Application.ViewModel;
|
||||||
|
using Castle.Core.Internal;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Application.Service
|
namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// FrontAuditConfigService
|
/// FrontAuditConfigService
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiExplorerSettings(GroupName = "Test")]
|
[ApiExplorerSettings(GroupName = "Reviewer")]
|
||||||
public class FrontAuditConfigService : BaseService, IFrontAuditConfigService
|
public class FrontAuditConfigService : BaseService, IFrontAuditConfigService
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -26,18 +26,34 @@ namespace IRaCIS.Core.Application.Service
|
||||||
_frontAuditConfigRepository = frontAuditConfigRepository;
|
_frontAuditConfigRepository = frontAuditConfigRepository;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
public async Task<List<FrontAuditConfigView>> GetFrontAuditConfigList(FrontAuditConfigQuery queryFrontAuditConfig)
|
/// 获取列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="iq"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async Task<List<FrontAuditConfigView>> GetFrontAuditConfigList(FrontAuditConfigQuery iq)
|
||||||
{
|
{
|
||||||
|
var query = _repository.GetQueryable<FrontAuditConfig>()
|
||||||
|
.WhereIf(!iq.Value.IsNullOrEmpty(), x => x.Value == iq.Value)
|
||||||
|
.WhereIf(!iq.Value.IsNullOrEmpty(), x => x.ValueCN == iq.ValueCN)
|
||||||
|
.WhereIf(!iq.Value.IsNullOrEmpty(), x => x.Description == iq.Description)
|
||||||
|
.WhereIf(!iq.Value.IsNullOrEmpty(), x => x.OptTypeId == iq.OptTypeId)
|
||||||
|
.WhereIf(!iq.Value.IsNullOrEmpty(), x => x.Code == iq.Code)
|
||||||
|
.WhereIf(!iq.Value.IsNullOrEmpty(), x => x.ChildrenTypeId == iq.ChildrenTypeId);
|
||||||
|
|
||||||
|
|
||||||
var frontAuditConfigQueryable = _repository.GetQueryable<FrontAuditConfig>()
|
var frontAuditConfigQueryable = query
|
||||||
.ProjectTo<FrontAuditConfigView>(_mapper.ConfigurationProvider);
|
.ProjectTo<FrontAuditConfigView>(_mapper.ConfigurationProvider);
|
||||||
|
|
||||||
return await frontAuditConfigQueryable.ToListAsync();
|
return await frontAuditConfigQueryable.ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 新增或者修改
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="addOrEditFrontAuditConfig"></param>
|
||||||
|
/// <returns></returns>
|
||||||
public async Task<IResponseOutput> AddOrUpdateFrontAuditConfig(FrontAuditConfigAddOrEdit addOrEditFrontAuditConfig)
|
public async Task<IResponseOutput> AddOrUpdateFrontAuditConfig(FrontAuditConfigAddOrEdit addOrEditFrontAuditConfig)
|
||||||
{
|
{
|
||||||
// 在此处拷贝automapper 映射
|
// 在此处拷贝automapper 映射
|
||||||
|
@ -53,7 +69,11 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="frontAuditConfigId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
[HttpDelete("{frontAuditConfigId:guid}")]
|
[HttpDelete("{frontAuditConfigId:guid}")]
|
||||||
public async Task<IResponseOutput> DeleteFrontAuditConfig(Guid frontAuditConfigId)
|
public async Task<IResponseOutput> DeleteFrontAuditConfig(Guid frontAuditConfigId)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 子类
|
/// 子类
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ChildrenType { get; set; }
|
public string ChildrenType { get; set; }
|
||||||
public bool IsSign { get; set; }
|
public bool IsSign { get; set; }
|
||||||
public string JsonDetail { get; set; } = string.Empty;
|
public string JsonDetail { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 子类
|
/// 子类
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int? ChildrenType { get; set; }
|
public string ChildrenType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 修改原因
|
/// 修改原因
|
||||||
|
|
|
@ -86,7 +86,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ModuleTypeId
|
/// ModuleTypeId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int? ModuleTypeId { get; set; }
|
public string ModuleTypeId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// OptTypeId
|
/// OptTypeId
|
||||||
|
|
|
@ -91,7 +91,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 子类
|
/// 子类
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int? ChildrenType { get; set; }
|
public string ChildrenType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Json 对象
|
/// Json 对象
|
||||||
|
|
Loading…
Reference in New Issue