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