public bool PropertyAllPower(string cUserName,stirngcDataPowerType,system.data.common.dbcommand optional)
{
string cClass="";
string cvarname="";
string value=DAL.Var.Var.Create.getValue(cClass, cVarName, cmd);
if(tostr(value_==""|| tostr(value)="1")
{
return ture;
}
else if(tostr(value)="0")
{
return false;
}
set(bool value)
string cclass="";
string cvarname="";
string cValue= IIf(value, "1", "0")}
{
string cClass="";
string cvarname="";
string value=DAL.Var.Var.Create.getValue(cClass, cVarName, cmd);
if(tostr(value_==""|| tostr(value)="1")
{
return ture;
}
else if(tostr(value)="0")
{
return false;
}
set(bool value)
string cclass="";
string cvarname="";
string cValue= IIf(value, "1", "0")}
Public bool AllPower(String cUserName ,String cDataPowerType,Sqlcommand cmd )
{
String cClass = "数据权限";
String cVarName =cUserName +"_"+cDataPowerType;
String Value = DAL.Var.Var.Create.getValue(cClass, cVarName, cmd);
If (tostr(Value) == "" || tostr(Value) == "1" )
Return True;
Return False;
}
}