Browse Source

宿舍晚归规则判断

娄底高职分支
ndbs 1 year ago
parent
commit
5149d3bdeb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_DormitoryRule/Acc_DormitoryRuleService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_DormitoryRule/Acc_DormitoryRuleService.cs View File

@@ -152,7 +152,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
entity.Create();
entity.CreateTime = DateTime.Now;
entity.CreateUserId = loInfo.account;
var NewID = this.BaseRepository().FindEntity<DepartmentEntity>(x => x.F_FullName == "保卫").F_DepartmentId;
var NewID = this.BaseRepository().FindEntity<DepartmentEntity>(x => x.F_FullName == "保卫").F_DepartmentId;
if (NewID != null && entity.Defend == 1)
{
entity.DefendId = NewID;


Loading…
Cancel
Save