yl
2022-06-08 95d9a449d1da8bfa6f3e38529205d4ed9caaefa3
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 torg_code,string orgCode, string orgName, string orgType, string userName,int startNum,int endNum,string prop,string order)
        {
            return BasicSettingDAL.OrganizationSearch(torg_code,orgCode, orgName,orgType,userName, startNum, endNum, prop, order);
        }
        #endregion
 
        #region [组织架构新增编辑]
        public static ToMessage AddUpdateOrganization(string torg_code, string organType, string organCode, string organName,string Operator, int supUnit, string operType)
        {
            return BasicSettingDAL.AddUpdateOrganization(torg_code,organType, organCode, organName, Operator, supUnit,operType);
        }
        #endregion
 
        #region [组织架构删除]
        public static ToMessage DeleteOrganization(int orgid, string torg_code)
        {
            return BasicSettingDAL.DeleteOrganization(orgid, torg_code);
        }
        #endregion
 
 
 
 
        #region[用户清单数据查询]
        public static ToMessage UserSearch(string torg_code, string UserCode, string UserName, string StuOrg, string Enable, int startNum, int endNum, string prop, string order)
        {
            return BasicSettingDAL.UserSearch(torg_code,UserCode, UserName, StuOrg, Enable, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[用户清单新增编辑]
        public static ToMessage AddUpdateUser(string torg_code, string UserId, string UserCode, string UserName, string Enable,string LoginOrg,string Mobile,string Email, string Operator, string OperType)
        {
            return BasicSettingDAL.AddUpdateUser(torg_code,UserId, UserCode, UserName, Enable, LoginOrg, Mobile, Email, Operator, OperType);
        }
        #endregion
 
        #region[用户清单删除]
        public static ToMessage DeleteUser(int Userid,string torg_code)
        {
            return BasicSettingDAL.DeleteUser(Userid, torg_code);
        }
        #endregion
 
        #region[用户清单关联角色查询]
        public static ToMessage UserAssociationRole(string usercode, string torg_code)
        {
            return BasicSettingDAL.UserAssociationRole(usercode, torg_code);
        }
        #endregion
 
 
 
        #region[角色清单查询]
        public static ToMessage RoleSearch(string torg_code,string RoleCode, string RoleName, string RoleTypeCode, string CreateUser, int startNum, int endNum, string prop, string order)
        {
            return BasicSettingDAL.RoleSearch(torg_code,RoleCode, RoleName, RoleTypeCode, CreateUser, startNum, endNum, prop, order);
        }
        #endregion
    }
}