| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using static Gs.Toolbox.UtilityHelper; |
| | | |
| | | namespace Gs.Pda.Service; |
| | | namespace Gs.Pda.Service |
| | | { |
| | | |
| | | [ApiGroup(ApiGroupNames.PDA)] |
| | | public class PqcManager : IRomteService |
| | | { |
| | | private readonly IHttpContextAccessor _http; |
| | | |
| | | /// <summary> |
| | | /// 用户Code,用户Guid,组织ID |
| | | /// </summary> |
| | | private readonly string _userCode, _userGuid, _orgFids; |
| | | |
| | | public PqcManager(IHttpContextAccessor httpContextAccessor) |
| | | { |
| | | _http = httpContextAccessor; |
| | |
| | | new("@inEdtUserGuid", _userGuid), |
| | | new("@inOrderGuid1", inOrderGuid1), |
| | | new("@inOrderGuid5", inOrderGuid5), |
| | | new("@inP1", inP1) |
| | | new("@inP1", inP1), |
| | | }; |
| | | parameters[0].Direction = ParameterDirection.Output; |
| | | parameters[1].Direction = ParameterDirection.Output; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (_outSum <= 0) |
| | | return ReturnDto<string>.QuickReturn(_outSum, |
| | | ReturnCode.Exception, _outMsg); |
| | | return ReturnDto<string>.QuickReturn(_outSum, |
| | | ReturnCode.Success, _outMsg); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | |
| | | new("@inOrderGuid1", inOrderGuid1), |
| | | new("@inOrderGuid5", inOrderGuid5), |
| | | new("@inOrderGuid12", inOrderGuid12), |
| | | new("@inP1", inP1) |
| | | new("@inP1", inP1), |
| | | }; |
| | | parameters[0].Direction = ParameterDirection.Output; |
| | | parameters[1].Direction = ParameterDirection.Output; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (_outSum <= 0) |
| | | return ReturnDto<string>.QuickReturn(_outSum, |
| | | ReturnCode.Exception, _outMsg); |
| | |
| | | ReturnCode.Success, _outMsg); |
| | | } |
| | | } |
| | | } |