| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Web; |
| | | using VueWebApi.DLL.DAL; |
| | |
| | | public class BasicSettingBLL |
| | | { |
| | | #region [组织架构数据查询] |
| | | public static ToMessage OrganizationSearch(string orgCode, string orgName, string orgType, string userName,int startNum,int endNum,string prop,string order) |
| | | 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); |
| | | return BasicSettingDAL.OrganizationSearch(orgCode, orgName, orgType, userName, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region [组织架构新增编辑] |
| | | public static ToMessage AddUpdateOrganization(string organType, string organCode, string organName,string Operator, int supUnit, string operType) |
| | | public static ToMessage AddUpdateOrganization(string organType, string organCode, string organName, string Operator, int supUnit, string RightCode, string numvalue, string operType) |
| | | { |
| | | return BasicSettingDAL.AddUpdateOrganization(organType, organCode, organName, Operator, supUnit,operType); |
| | | return BasicSettingDAL.AddUpdateOrganization(organType, organCode, organName, Operator, supUnit, RightCode, numvalue, operType); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | |
| | | #region[用户清单数据查询] |
| | | public static ToMessage UserSearch(string UserCode, string UserName, string StuOrg,string wagetype, string Enable, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage UserSearch(string UserCode, string UserName, string StuOrg, string wagetype, string Enable, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return BasicSettingDAL.UserSearch(UserCode, UserName, StuOrg, wagetype, Enable, startNum, endNum, prop, order); |
| | | } |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[用户清单新增编辑] |
| | | public static ToMessage AddUpdateUser(string UserId, string UserCode, string UserName,string Password, string Enable,string LoginOrg,string wagetype, string Mobile,string Email, string Operator, string OperType) |
| | | #region[用户所属班组] |
| | | public static ToMessage UserGroup() |
| | | { |
| | | return BasicSettingDAL.AddUpdateUser(UserId, UserCode, UserName, Password, Enable, LoginOrg, wagetype, Mobile, Email, Operator, OperType); |
| | | return BasicSettingDAL.UserGroup(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[用户清单新增编辑] |
| | | public static ToMessage AddUpdateUser(string UserId, string UserCode, string UserName, string Password, string Enable, string LoginOrg,string groupcode, string wagetype, string Mobile, string Email, string Operator, string OperType) |
| | | { |
| | | return BasicSettingDAL.AddUpdateUser(UserId, UserCode, UserName, Password, Enable, LoginOrg, groupcode, wagetype, Mobile, Email, Operator, OperType); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #region[用户清单关联角色保存] |
| | | public static ToMessage SaveUserAssoctRole(string usercode, List<RoleUserSubmit> json) |
| | | { |
| | | return BasicSettingDAL.SaveUserAssoctRole(usercode,json); |
| | | return BasicSettingDAL.SaveUserAssoctRole(usercode, json); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[用户组列表查询] |
| | | public static ToMessage UserGroupSearch(int startNum, int endNum, string prop, string order) |
| | | { |
| | | return BasicSettingDAL.UserGroupSearch(startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[用户组新增] |
| | | public static ToMessage UserGroupAdd(List<StepDefect> json,string username) |
| | | { |
| | | return BasicSettingDAL.UserGroupAdd(json,username); |
| | | } |
| | | #endregion |
| | | |
| | | #region[用户组删除] |
| | | public static ToMessage UserGroupDelete(string UserGrupCode) |
| | | { |
| | | return BasicSettingDAL.UserGroupDelete(UserGrupCode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[角色类型查询] |
| | |
| | | #endregion |
| | | |
| | | #region[角色清单新增编辑] |
| | | public static ToMessage AddUpdateRole(string RoleId, string RoleCode, string RoleName,string RoleTypeCode, string description, string Usercode, string OperType) |
| | | 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); |
| | | } |
| | |
| | | #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); |
| | | return BasicSettingDAL.RoleAssociationUser(rolecode, usercode, username, orgcode, isrole, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[角色清单关联功能查询] |
| | | public static ToMessage RoleAssociationRight(string rolecode,string type) |
| | | public static ToMessage RoleAssociationRight(string rolecode, string type) |
| | | { |
| | | return BasicSettingDAL.RoleAssociationRight(rolecode, type); |
| | | } |
| | | #endregion |
| | | |
| | | #region [角色清单关联功能保存] |
| | | public static ToMessage SaveUserAssoctRight(string rolecode,string usercode, List<TreeDM> json) |
| | | public static ToMessage SaveUserAssoctRight(string rolecode, string usercode, List<TreeDM> json) |
| | | { |
| | | return BasicSettingDAL.SaveUserAssoctRight(rolecode, usercode, json); |
| | | } |
| | |
| | | #region[往来单位查询] |
| | | public static ToMessage CurrentUnitSearch(string cuntUnitCode, string cuntUnitName, string unitAttr, string createUser, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return BasicSettingDAL.CurrentUnitSearch(cuntUnitCode,cuntUnitName,unitAttr,createUser,startNum, endNum,prop,order); |
| | | return BasicSettingDAL.CurrentUnitSearch(cuntUnitCode, cuntUnitName, unitAttr, createUser, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[往来单位新增编辑] |
| | | public static ToMessage AddUpdateCurrentUnit(string unitid, string unitcode, string unitname, string mtypecode,string btypecode,string htypecode, string person, string contact, string description, string usercode,string OperType) |
| | | public static ToMessage AddUpdateCurrentUnit(string unitid, string unitcode, string unitname, string mtypecode, string btypecode, string htypecode, string person, string contact, string description, string usercode, string OperType) |
| | | { |
| | | return BasicSettingDAL.AddUpdateCurrentUnit(unitid, unitcode, unitname, mtypecode, btypecode, htypecode, person, contact, description, usercode, OperType); |
| | | } |
| | |
| | | return BasicSettingDAL.DeleteCurrentUnit(unitcode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[安灯系统/自定义安灯呼叫类型查询] |
| | | public static ToMessage AnDengTypeSearch() |
| | | { |
| | | return BasicSettingDAL.AnDengTypeSearch(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/自定义安灯呼叫类型新增] |
| | | public static ToMessage AddUpdateAnDengType(List<ObjectData> json, string username) |
| | | { |
| | | return BasicSettingDAL.AddUpdateAnDengType(json, username); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/自定义安灯呼叫类型删除] |
| | | public static ToMessage DeleteAnDengType(string andengtypecode) |
| | | { |
| | | return BasicSettingDAL.DeleteAnDengType(andengtypecode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/查询绑定的响应人员] |
| | | public static ToMessage AnDengResponUserSearch(string wkshopcode, string calltypecode) |
| | | { |
| | | return BasicSettingDAL.AnDengResponUserSearch(wkshopcode,calltypecode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/新增响应人员查询已绑定的响应人员] |
| | | public static ToMessage AnDengDialogResponUserSearch(string wkshopcode, string calltypecode) |
| | | { |
| | | return BasicSettingDAL.AnDengDialogResponUserSearch(wkshopcode, calltypecode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/新增响应人员提交] |
| | | public static ToMessage AnDengDigoResponUserSeave(string wkshopcode, string calltypecode,string enable, string usercode, DataTable json) |
| | | { |
| | | return BasicSettingDAL.AnDengDigoResponUserSeave(wkshopcode, calltypecode, enable, usercode, json); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/响应人员允许关闭] |
| | | public static ToMessage AnDengResponUserCloseSeave(string wkshopcode, string calltypecode, string enable, string usercode) |
| | | { |
| | | return BasicSettingDAL.AnDengResponUserCloseSeave(wkshopcode, calltypecode, enable, usercode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[安灯系统/响应人员删除] |
| | | public static ToMessage AnDengResponUserDeleteSeave(string id,string ando_cogfigid) |
| | | { |
| | | return BasicSettingDAL.AnDengResponUserDeleteSeave(id, ando_cogfigid); |
| | | } |
| | | #endregion |
| | | } |
| | | } |