BUG: dalUser.CopyPermission方法
BUG: dalUser.CopyPermission方法Loginer.Current改为:_Loginer
C# Code:
public bool CopyPermission(string sourceUser, string targetUser)
{
SqlProcedure sp = SqlBuilder.BuildSqlProcedure("usp_CopyPermission");
sp.AddParam("DataSetID", SqlDbType.VarChar, _Loginer.DataSetID);
sp.AddParam("AccountFrom", SqlDbType.VarChar, sourceUser);
sp.AddParam("AccountTo", SqlDbType.VarChar, targetUser);
sp.AddParam("OperateUser", SqlDbType.VarChar, _Loginer.Account);
int i = DataProvider.Instance.ExecuteNoQuery(DBName, sp.SqlCommand);
return true;
}
扫一扫加作者微信