fix werks数据记录
This commit is contained in:
@@ -211,7 +211,8 @@ public class OrderService : BaseOrderService, IOrderService
|
|||||||
IsOffline = request.IsOffline,
|
IsOffline = request.IsOffline,
|
||||||
IsCostCrossTenant = await GetSettingAsync<bool>(businessPlaceInfo.TenantId, CanteenSettingItemEnumType.AllowCrossTenant),
|
IsCostCrossTenant = await GetSettingAsync<bool>(businessPlaceInfo.TenantId, CanteenSettingItemEnumType.AllowCrossTenant),
|
||||||
|
|
||||||
OriginTenantId = gainfo.Factory,//人员可能跨基地消费
|
OriginTenantId = gainfo.Factory,
|
||||||
|
Werks = gainfo.Werks,
|
||||||
|
|
||||||
//餐别异常处理
|
//餐别异常处理
|
||||||
Status = BalanceRecordStatusEnumType.Valid,
|
Status = BalanceRecordStatusEnumType.Valid,
|
||||||
@@ -363,7 +364,8 @@ public class OrderService : BaseOrderService, IOrderService
|
|||||||
IsOffline = request.IsOffline,
|
IsOffline = request.IsOffline,
|
||||||
IsCostCrossTenant = await GetSettingAsync<bool>(businessPlaceInfo.TenantId, CanteenSettingItemEnumType.AllowCrossTenant),
|
IsCostCrossTenant = await GetSettingAsync<bool>(businessPlaceInfo.TenantId, CanteenSettingItemEnumType.AllowCrossTenant),
|
||||||
|
|
||||||
OriginTenantId = gainfo.Factory,//人员可能跨基地消费
|
OriginTenantId = gainfo.Factory,
|
||||||
|
Werks = gainfo.Werks,
|
||||||
|
|
||||||
//餐别异常处理
|
//餐别异常处理
|
||||||
Status = shift == null ? BalanceRecordStatusEnumType.Doubtful : BalanceRecordStatusEnumType.Valid,
|
Status = shift == null ? BalanceRecordStatusEnumType.Doubtful : BalanceRecordStatusEnumType.Valid,
|
||||||
|
|||||||
@@ -147,6 +147,11 @@ public class BalanceRecordEntity : SugarBaseEntity, ISoftDeleted, ITenantId
|
|||||||
|
|
||||||
public string TenantId { get; set; }
|
public string TenantId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 人事范围
|
||||||
|
/// </summary>
|
||||||
|
public string Werks { get; set; }
|
||||||
|
|
||||||
|
|
||||||
[SugarColumn(ColumnDataType = "bit")]
|
[SugarColumn(ColumnDataType = "bit")]
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user