|
@@ -148,18 +148,32 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
|
if (dto.Id!=0 && !string.IsNullOrWhiteSpace(dto.Id.ToString()))
|
|
|
{
|
|
|
_TicketBlackCode = _sqlSugar.Queryable<Air_TicketBlackCode>().First(a => a.IsDel==0 && a.Id==dto.Id);
|
|
|
+ return result = new Result()
|
|
|
+ {
|
|
|
+ Code = 0,
|
|
|
+ Msg = "查询成功!",
|
|
|
+ Data = new
|
|
|
+ {
|
|
|
+ GroupCostParameter = _AirgroupCostParameter,
|
|
|
+ DelegationInfo = _DelegationInfo,
|
|
|
+ TicketBlackCode = _TicketBlackCode
|
|
|
+ },
|
|
|
+ };
|
|
|
}
|
|
|
- return result = new Result()
|
|
|
+ else
|
|
|
{
|
|
|
- Code = 0,
|
|
|
- Msg = "查询成功!",
|
|
|
- Data = new
|
|
|
+ return result = new Result()
|
|
|
{
|
|
|
- GroupCostParameter = _AirgroupCostParameter,
|
|
|
- DelegationInfo = _DelegationInfo,
|
|
|
- TicketBlackCode = _TicketBlackCode
|
|
|
- },
|
|
|
- };
|
|
|
+ Code = 0,
|
|
|
+ Msg = "查询成功!",
|
|
|
+ Data = new
|
|
|
+ {
|
|
|
+ GroupCostParameter = _AirgroupCostParameter,
|
|
|
+ DelegationInfo = _DelegationInfo,
|
|
|
+ },
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
catch (Exception)
|
|
|
{
|