TemplatePro/BZPT.Domains/IService/Sys/IProjectInfoService.cs

37 lines
1.6 KiB
C#
Raw Normal View History

2025-07-17 22:41:38 +08:00
/***********************************************************
**: BZPT.IServices
**: CountryServices
** : CodeSmith生成
** : 1.0
**
************************************************************/
namespace BZPT.Domains.IService.Sys
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using BZPT.Domains.Entity.Sys;
using BZPT.Dto.Sys;
using BZPT.Dto.VO;
using DevExtreme.AspNet.Data;
using NPlatform.Dto;
/// <summary>
/// ProjectInfo 业务层
/// </summary>
public partial interface IProjectInfoService : IDomainService,ICRUDService<ProjectInfo, ProjectInfoDto>
{
Task CacheAllProjects();
new Task<IListResult<ProjectInfoDto>> GetPageAsync(DataSourceLoadOptions dataSourceLoadOptions);
Task<INPResult> ProjectInfoAdd(ProjectInfoDto addCommand);
// Task<INPResult> ProjectUserAdd(ProjectUserDto proUser);
Task<INPResult> ProjectInfoEdit(ProjectInfoDto editCommand);
// Task<INPResult> UserProjectGrant(GrantProSectionInput grants);
Task<INPResult> GetUserProjectTree(string setRole, int leve = 3);
Task<INPResult> GetProjectTree(string setOrg, int leve = 3);
// Task<IListResult<UserVO>> GetProUserPage(string proId, DataSourceLoadOptions whereExp);
Task<INPResult> GetOrgProjectTree(string setOrg, int leve);
}
}