|
@@ -54,7 +54,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
}
|
|
|
|
|
|
//雷怡 2024-5-8 15:14 新增View字段 CreateTime
|
|
|
- string sql = string.Format(@" Select gdp.Id,gdp.DiId,gdp.PriceName,gdp.Price,sd1.[Name] as Currency,gdp.FilePath,su.CnName as CreateUserName,
|
|
|
+ string sql = string.Format(@" Select gdp.Id,gdp.DiId,gdp.PriceName,gdp.FeeTotal,sd1.[Name] as Currency,gdp.FilePath,su.CnName as CreateUserName,
|
|
|
ccp.IsAuditGM as isAudit,ccp.IsPay,gdp.CreateTime
|
|
|
From Grp_DecreasePayments as gdp With(Nolock) Left Join Grp_CreditCardPayment as ccp With(Nolock) On gdp.Id = ccp.CId
|
|
|
Left Join Sys_SetData as sd1 On gdp.Currency = sd1.Id
|
|
@@ -490,7 +490,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
Left Join Grp_CreditCardPayment ccp With(NoLock) On dp.Id = ccp.CId And dp.DiId = ccp.DIId And ccp.CTable = 98
|
|
|
Where dp.IsDel = 0 And dp.Id = {dto.Id}");
|
|
|
|
|
|
- var info = await _sqlSugar.Queryable<DecreasePaymentsInfoView>(sql).FirstAsync();
|
|
|
+ var info = await _sqlSugar.SqlQueryable<DecreasePaymentsInfoView>(sql).FirstAsync();
|
|
|
|
|
|
return new Result() { Code = 0, Msg = "查询成功!", Data = info };
|
|
|
}
|