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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
| using System;
| using System.Collections.Generic;
| using System.Linq;
| using System.Web;
| using VueWebApi.DLL.DAL;
| using VueWebApi.Tools;
|
| namespace VueWebApi.DLL.BLL
| {
| public class BasicSettingBLL
| {
| #region [组织架构数据查询]
| public static ToMessage OrganizationSearch(string orgCode, string orgName, string orgType, string userName,int startNum,int endNum,string prop,string order)
| {
| return BasicSettingDAL.OrganizationSearch(orgCode, orgName,orgType,userName, startNum, endNum, prop, order);
| }
| #endregion
|
| #region [组织架构新增编辑]
| public static ToMessage AddUpdateOrganization(string organType, string organCode, string organName,string Operator, int supUnit, string operType)
| {
| return BasicSettingDAL.AddUpdateOrganization(organType, organCode, organName, Operator, supUnit,operType);
| }
| #endregion
|
| #region [组织架构删除]
| public static ToMessage DeleteOrganization(int orgid)
| {
| return BasicSettingDAL.DeleteOrganization(orgid);
| }
| #endregion
|
|
|
|
| #region[用户清单数据查询]
| public static ToMessage UserSearch(string UserCode, string UserName, string StuOrg, string Enable, int startNum, int endNum, string prop, string order)
| {
| return BasicSettingDAL.UserSearch(UserCode, UserName, StuOrg, Enable, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[用户清单新增编辑]
| public static ToMessage AddUpdateUser(string UserId, string UserCode, string UserName, string Enable,string LoginOrg,string Mobile,string Email, string Operator, string OperType)
| {
| return BasicSettingDAL.AddUpdateUser(UserId, UserCode, UserName, Enable, LoginOrg, Mobile, Email, Operator, OperType);
| }
| #endregion
|
| #region[用户清单删除]
| public static ToMessage DeleteUser(int Userid)
| {
| return BasicSettingDAL.DeleteUser(Userid);
| }
| #endregion
|
| #region[用户清单关联角色查询]
| public static ToMessage UserAssociationRole(string usercode)
| {
| return BasicSettingDAL.UserAssociationRole(usercode);
| }
| #endregion
|
|
|
| #region[角色清单查询]
| public static ToMessage RoleSearch(string RoleCode, string RoleName, string RoleTypeCode, string CreateUser, int startNum, int endNum, string prop, string order)
| {
| return BasicSettingDAL.RoleSearch(RoleCode, RoleName, RoleTypeCode, CreateUser, startNum, endNum, prop, order);
| }
| #endregion
| }
| }
|
|