You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.ServiceModel;
|
|
|
|
namespace SSWMS.Common
|
|
{
|
|
[ServiceContract]
|
|
public partial interface I_SystemService
|
|
{
|
|
[OperationContract]
|
|
void AddLog(string sLogType, string sLogText, string sOperator);
|
|
|
|
[OperationContract]
|
|
SYS_USER Login(string sUserCode, string sPassword);
|
|
|
|
[OperationContract]
|
|
bool ChangePassword(string sUserCode, string sOldPassword, string sNewPassword, out string sResult);
|
|
|
|
[OperationContract]
|
|
IList<SYS_ROLE> GetSystemRole(int iUserID);
|
|
|
|
[OperationContract]
|
|
SYS_MENU GetSystemMenu(int iMenuID);
|
|
|
|
[OperationContract]
|
|
IList<SYS_MENU> GetSystemMenuByUserID(int iUserID);
|
|
|
|
[OperationContract]
|
|
DataTable GetSystemMenuDataTable(bool bIsParent);
|
|
|
|
[OperationContract]
|
|
IList<SYS_RELATION> GetUserRelation(string sRelationType, int iUserID);
|
|
|
|
[OperationContract]
|
|
IList<SYS_RELATION> GetRoleRelation(string sRelationType, int iRoleID);
|
|
|
|
[OperationContract]
|
|
bool UpdateRoleRelation(string sRelationType, int iRoleID, List<int> lRelationID2, out string sResult);
|
|
|
|
[OperationContract]
|
|
bool InitSystem(out string sResult);
|
|
}
|
|
}
|