using BP.DA;
using BP.Sys;
namespace BP.WF.HttpHandler
{
///
/// 页面功能实体
///
public class WF_Admin_AttrNode_AccepterRole : BP.WF.HttpHandler.DirectoryPageBase
{
///
/// 构造函数
///
public WF_Admin_AttrNode_AccepterRole()
{
}
#region 界面 .
///
/// 清空缓存
///
///
public string AccepterRole_ClearStartFlowsCash()
{
if (Glo.CCBPMRunModel == CCBPMRunModel.Single)
DBAccess.RunSQL("UPDATE WF_Emp SET StartFlows=''");
else
DBAccess.RunSQL("UPDATE WF_Emp SET StartFlows='' WHERE OrgNo='" + BP.Web.WebUser.OrgNo + "'");
return "执行成功 ";
}
///
/// 清楚所有组织的缓存,用于多组织.
///
///
public string AccepterRole_ClearAllOrgStartFlowsCash()
{
DBAccess.RunSQL("UPDATE WF_Emp SET StartFlows=''");
return "执行成功 ";
}
#endregion 界面方法.
}
}