|
@@ -70,6 +70,7 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
ECPrice=dto.ECPrice,
|
|
ECPrice=dto.ECPrice,
|
|
CreateUserId = dto.CreateUserId,
|
|
CreateUserId = dto.CreateUserId,
|
|
Remark = dto.Remark,
|
|
Remark = dto.Remark,
|
|
|
|
+ Title = dto.Title,
|
|
});
|
|
});
|
|
if (!res)
|
|
if (!res)
|
|
{
|
|
{
|
|
@@ -104,7 +105,7 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
|
|
|
|
string sql = string.Format(@"select *,(select CnName from Sys_Users where id=a.CreateUserId) as CreateName from Air_TicketBlackCode a {0}", sqlWhere);
|
|
string sql = string.Format(@"select *,(select CnName from Sys_Users where id=a.CreateUserId) as CreateName from Air_TicketBlackCode a {0}", sqlWhere);
|
|
List<TicketBlackCodeView> _TicketBlackCodes = await _sqlSugar.SqlQueryable<TicketBlackCodeView>(sql).ToListAsync();
|
|
List<TicketBlackCodeView> _TicketBlackCodes = await _sqlSugar.SqlQueryable<TicketBlackCodeView>(sql).ToListAsync();
|
|
- Grp_DelegationInfo _DelegationInfo=await _sqlSugar.Queryable<Grp_DelegationInfo>().FirstAsync(a=>a.IsDel==0 && a.Id==dto.DiId);
|
|
|
|
|
|
+ Grp_DelegationInfo _DelegationInfo = await _sqlSugar.Queryable<Grp_DelegationInfo>().FirstAsync(a=>a.IsDel==0 && a.Id==dto.DiId);
|
|
if (_TicketBlackCodes.Count!=0)
|
|
if (_TicketBlackCodes.Count!=0)
|
|
{
|
|
{
|
|
return result = new Result()
|
|
return result = new Result()
|
|
@@ -135,7 +136,6 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
catch (Exception)
|
|
catch (Exception)
|
|
{
|
|
{
|
|
return result;
|
|
return result;
|
|
- throw;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|