fix 查询优化
This commit is contained in:
@@ -113,4 +113,9 @@ public class BalanceRecordResponse
|
||||
/// 厂区
|
||||
/// </summary>
|
||||
public string Factory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人事范围
|
||||
/// </summary>
|
||||
public string Werks { get; set; }
|
||||
}
|
||||
|
||||
@@ -73,7 +73,9 @@ public class BalanceService : IBalanceService
|
||||
BusinessPlaceName = bplace.Name,
|
||||
CostDateTime = record.CostDateTime,
|
||||
Factory = record.TenantId,
|
||||
ShiftType = record.ShiftType,
|
||||
Remark = record.Remark,
|
||||
Werks = ga.Werks
|
||||
})
|
||||
.ToPageListAsync(request);
|
||||
|
||||
@@ -259,7 +261,7 @@ public class BalanceService : IBalanceService
|
||||
{
|
||||
Id = record.Id,
|
||||
No = record.No,
|
||||
CurrentAmount = record.Amount,
|
||||
CurrentAmount = SqlFunc.Abs(record.Amount),
|
||||
CostDate = record.CostDate,
|
||||
UserNo = record.UserNo,
|
||||
UserCode = record.UserCode,
|
||||
|
||||
Reference in New Issue
Block a user