| | |
| | | using System.Linq; |
| | | using System.Web; |
| | | using VueWebApi.DLL.DAL; |
| | | using VueWebApi.Models; |
| | | using VueWebApi.Tools; |
| | | |
| | | namespace VueWebApi.DLL.BLL |
| | |
| | | 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 PrentOrganization(string orgcode) |
| | | { |
| | | return BasicSettingDAL.PrentOrganization(orgcode); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region [用户所属组织] |
| | | public static ToMessage UserOrganization() |
| | | { |
| | | return BasicSettingDAL.UserOrganization(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[用户清单新增编辑] |
| | | public static ToMessage AddUpdateUser(string UserId, string UserCode, string UserName, string Enable,string LoginOrg,string Mobile,string Email, string Operator, string OperType) |
| | | { |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[用户清单关联角色保存] |
| | | public static ToMessage SaveUserAssoctRole(string usercode, List<RoleUserSubmit> json) |
| | | { |
| | | return BasicSettingDAL.SaveUserAssoctRole(usercode,json); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[角色类型查询] |
| | | public static ToMessage RoleTypeSearch(int startNum, int endNum, string prop, string order) |
| | | { |
| | | return BasicSettingDAL.RoleTypeSearch(startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[角色类型新增] |
| | | public static ToMessage RoleTypeAdd(List<ObjectData> json) |
| | | { |
| | | return BasicSettingDAL.RoleTypeAdd(json); |
| | | } |
| | | #endregion |
| | | |
| | | #region[角色类型删除] |
| | | public static ToMessage RoleTypeDelete(string roleTypeCode) |
| | | { |
| | | return BasicSettingDAL.RoleTypeDelete(roleTypeCode); |
| | | } |
| | | #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 |
| | | |
| | | #region[角色清单新增编辑] |
| | | public static ToMessage AddUpdateRole(string RoleId, string RoleCode, string RoleName,string RoleTypeCode, string description, string Usercode, string OperType) |
| | | { |
| | | return BasicSettingDAL.AddUpdateRole(RoleId, RoleCode, RoleName, RoleTypeCode, description, Usercode, OperType); |
| | | } |
| | | #endregion |
| | | |
| | | #region[角色清单删除] |
| | | public static ToMessage DeleteRole(string RoleCode) |
| | | { |
| | | return BasicSettingDAL.DeleteRole(RoleCode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[角色清单关联用户查询] |
| | | public static ToMessage RoleAssociationUser(string rolecode, string usercode, string username, string orgcode, string isrole, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return BasicSettingDAL.RoleAssociationUser(rolecode,usercode,username,orgcode,isrole, startNum,endNum,prop,order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[角色清单关联用户保存] |
| | | public static ToMessage SaveRoleAssociationUser(string rolecode, List<ObjectData> json) |
| | | { |
| | | return BasicSettingDAL.SaveRoleAssociationUser(rolecode, json); |
| | | } |
| | | #endregion |
| | | } |
| | | } |