IBll.cs
1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using HHECS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HHECS.Bll
{
public interface IBll
{
BllResult<User> GetUserWithRoles(string userCode, string password);
BllResult<List<MenuOperation>> FindMenuOperation(List<Role> roles);
BllResult<List<MenuOperation>> GetAllMenuOperation();
BllResult<MenuOperation> SaveMenuOperation(MenuOperation currentMenuOperation);
BllResult UpdateMenuOperation(MenuOperation currentMenuOperation);
BllResult DeleteMenuOperationByIds(List<int> ids);
BllResult<List<Role>> GetAllRole();
BllResult<Role> GetRoleById(int value);
void GetMenuOperationIds(List<MenuOperation> list, List<MenuOperation> menuOperations, List<int> ids);
BllResult<List<Config>> GetAllConfig();
void Combine(List<MenuOperation> list, List<MenuOperation> menuOperations);
BllResult<Role> InsertRoleAndMenuOperations(Role currentRole, List<MenuOperation> list);
BllResult<List<T>> GetCommonModelByCondition<T>(string v);
BllResult<Role> UpdateRoleAndMenuOperations(Role currentRole, List<MenuOperation> list);
BllResult<List<User>> GetUserByCondition(string sql);
BllResult SetUserDisable(List<int?> list,int enable);
BllResult<User> SaveUserWithRoles(User currentUser, List<int> RoleIds);
BllResult<User> UpdateUserWithRoles(User currentUser, List<int> RoleIds);
BllResult DeleteConfigByIds(List<int> list);
BllResult DeleteRoleByIds(List<int> list);
BllResult<int?> SaveCommonModel<T>(T model);
BllResult UpdateCommonModel<T>(T currentConfig);
BllResult DeleteDictByIds(List<int> list);
BllResult DeleteCommonModelByIds<T>(List<int> list);
BllResult DeleteEuipmentTypeByIds(List<int> list);
BllResult DeleteEquipmentTypePropTemplateByIds(List<int> list);
}
}