|
@@ -369,10 +369,11 @@ namespace OASystem.API.Controllers
|
|
|
{
|
|
|
var dailyInfos = await _sqlSugar.Queryable<Fin_DailyFeePayment>()
|
|
|
.LeftJoin<Sys_Users>((dfp, u) => dfp.CreateUserId == u.Id)
|
|
|
- .Where(dfp => dfp.IsDel == 0 && dfp.IsPay == 0 && dfp.FAudit ==1 && dfp.MAudit != 1)
|
|
|
+ .Where(dfp => dfp.IsDel == 0 && dfp.IsPay == 0 && dfp.FAudit == 1 && dfp.MAudit != 1)
|
|
|
.OrderBy(dfp => dfp.CreateTime, OrderByType.Desc)
|
|
|
.OrderBy(dfp => dfp.FAudit, OrderByType.Desc)
|
|
|
- .Select((dfp, u) => new {
|
|
|
+ .Select((dfp, u) => new
|
|
|
+ {
|
|
|
id = dfp.Id,
|
|
|
amountName = dfp.Instructions,
|
|
|
amount = dfp.SumPrice,
|
|
@@ -381,10 +382,10 @@ namespace OASystem.API.Controllers
|
|
|
applicant = u.CnName,
|
|
|
applicantDate = dfp.CreateTime
|
|
|
})
|
|
|
- .ToListAsync();
|
|
|
-
|
|
|
- int count = dailyInfos.Count;
|
|
|
- return Ok(JsonView(true,"查询成功", dailyInfos, count));
|
|
|
+ //.ToListAsync();
|
|
|
+ .CountAsync();
|
|
|
+ //int count = dailyInfos.Count;
|
|
|
+ return Ok(JsonView(true,"查询成功", dailyInfos));
|
|
|
}
|
|
|
|
|
|
#endregion
|