public async Task AuditLabourTeam(CreateOrUpdateLabourTeamInput input)
        {
            Debug.Assert(input.LabourTeam.Id != null, "input.LabourTeam.Id should be set.");

            var labourTeam = input.LabourTeam.MapTo<BaseLabourTeamInfo>();
            labourTeam.AuditUserId = AbpSession.UserId;
            labourTeam.AuditUserName = GetCurrentUser().RealName;
            labourTeam.AuditTime = Clock.Now;
            await _labourTeamRepository.UpdateAsync(labourTeam);
            cacheHandler.Remove(CacheCategoryLabourTeam, "GetLabourTeamList");
        }
         protected async virtual Task UpdateLabourTeamAsync(CreateOrUpdateLabourTeamInput input)
        {
            Debug.Assert(input.LabourTeam.Id != null, "input.LabourTeam.Id should be set.");

            var labourTeam = input.LabourTeam.MapTo<BaseLabourTeamInfo>();
            labourTeam.LastModifierUserId = AbpSession.UserId;
            labourTeam.LastModifierUserName = GetCurrentUser().RealName;
            labourTeam.LastModificationTime = Clock.Now;
            await _labourTeamRepository.UpdateAsync(labourTeam);
            cacheHandler.Remove(CacheCategoryLabourTeam, "GetLabourTeamList");
        }
  protected async virtual Task CreateLabourTeamAsync(CreateOrUpdateLabourTeamInput input)
 {
     var labourTeam = input.LabourTeam.MapTo<BaseLabourTeamInfo>();
     labourTeam.Id = GuidHelper.NewGuid();
     labourTeam.OrgId = AbpSession.OrgId;
     labourTeam.CreatorUserId = AbpSession.UserId;
     labourTeam.CreatorUserName = GetCurrentUser().RealName;
     labourTeam.CreationTime = Clock.Now;
     await _labourTeamRepository.InsertAsync(labourTeam);
     cacheHandler.Remove(CacheCategoryLabourTeam, "GetLabourTeamList");
 }
 /// <summary>
 /// 添加修改实体
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public async Task CreateOrUpdateLabourTeam(CreateOrUpdateLabourTeamInput input)
 {
     if (input.LabourTeam.Id != null && input.LabourTeam.Id != Guid.Empty)
     {
         await UpdateLabourTeamAsync(input);
     }
     else
     {
         await CreateLabourTeamAsync(input);
     }
 }