|
|
|
@ -665,7 +665,7 @@ namespace Shentun.Peis.QueueRegisters |
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/QueueRegister/CreateGiveUpAsbitem")] |
|
|
|
public async Task CreateGiveUpAsbitemAsync(CreateGiveUpAsbitemInputDto input) |
|
|
|
public async Task<SmallProgramResultDto> 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 |
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/QueueRegister/CreateNewAsbitemTriage")] |
|
|
|
public async Task CreateNewAsbitemTriageAsync(CreateNewAsbitemTriageInputDto input) |
|
|
|
public async Task<SmallProgramResultDto> CreateNewAsbitemTriageAsync(CreateNewAsbitemTriageInputDto input) |
|
|
|
{ |
|
|
|
|
|
|
|
//登记的组合项目ID
|
|
|
|
@ -739,6 +744,11 @@ namespace Shentun.Peis.QueueRegisters |
|
|
|
|
|
|
|
await _queueRegisterRepository.InsertAsync(entity, true); |
|
|
|
|
|
|
|
return new SmallProgramResultDto |
|
|
|
{ |
|
|
|
IsSuccess = true |
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
#endregion
|
|
|
|
} |
|
|
|
|