From f87e0c189a1808c10cd21505492bf562f6c60e9e Mon Sep 17 00:00:00 2001
From: wxd <123@qq.com>
Date: Sat, 30 Nov 2024 18:49:20 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../QueueRegisters/SmallProgramResultDto.cs | 11 +++++++++++
.../QueueRegisters/QueueRegisterAppService.cs | 14 ++++++++++++--
2 files changed, 23 insertions(+), 2 deletions(-)
create mode 100644 src/Shentun.Peis.Application.Contracts/QueueRegisters/SmallProgramResultDto.cs
diff --git a/src/Shentun.Peis.Application.Contracts/QueueRegisters/SmallProgramResultDto.cs b/src/Shentun.Peis.Application.Contracts/QueueRegisters/SmallProgramResultDto.cs
new file mode 100644
index 0000000..0d87587
--- /dev/null
+++ b/src/Shentun.Peis.Application.Contracts/QueueRegisters/SmallProgramResultDto.cs
@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shentun.Peis.QueueRegisters
+{
+ public class SmallProgramResultDto
+ {
+ public bool IsSuccess { get; set; }
+ }
+}
diff --git a/src/Shentun.Peis.Application/QueueRegisters/QueueRegisterAppService.cs b/src/Shentun.Peis.Application/QueueRegisters/QueueRegisterAppService.cs
index 0358cab..0b72202 100644
--- a/src/Shentun.Peis.Application/QueueRegisters/QueueRegisterAppService.cs
+++ b/src/Shentun.Peis.Application/QueueRegisters/QueueRegisterAppService.cs
@@ -665,7 +665,7 @@ namespace Shentun.Peis.QueueRegisters
///
///
[HttpPost("api/app/QueueRegister/CreateGiveUpAsbitem")]
- public async Task CreateGiveUpAsbitemAsync(CreateGiveUpAsbitemInputDto input)
+ public async Task CreateGiveUpAsbitemAsync(CreateGiveUpAsbitemInputDto input)
{
var registerCheckEnt = await _registerCheckRepository.FirstOrDefaultAsync(f => f.Id == input.RegisterCheckId);
if (registerCheckEnt == null)
@@ -688,6 +688,11 @@ namespace Shentun.Peis.QueueRegisters
registerCheckEnt.CompleteFlag = RegisterCheckCompleteFlag.UnChecked;
await _registerCheckRepository.UpdateAsync(registerCheckEnt);
}
+
+ return new SmallProgramResultDto
+ {
+ IsSuccess = true
+ };
}
@@ -697,7 +702,7 @@ namespace Shentun.Peis.QueueRegisters
///
///
[HttpPost("api/app/QueueRegister/CreateNewAsbitemTriage")]
- public async Task CreateNewAsbitemTriageAsync(CreateNewAsbitemTriageInputDto input)
+ public async Task CreateNewAsbitemTriageAsync(CreateNewAsbitemTriageInputDto input)
{
//登记的组合项目ID
@@ -739,6 +744,11 @@ namespace Shentun.Peis.QueueRegisters
await _queueRegisterRepository.InsertAsync(entity, true);
+ return new SmallProgramResultDto
+ {
+ IsSuccess = true
+ };
+
}
#endregion
}