You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
11 months ago
|
using BP.DA;
|
||
|
|
||
|
|
||
|
namespace BP.WF.HttpHandler
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 页面功能实体
|
||
|
/// </summary>
|
||
|
public class WF_GPM_Window : DirectoryPageBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 构造函数
|
||
|
/// </summary>
|
||
|
public WF_GPM_Window()
|
||
|
{
|
||
|
}
|
||
|
public string Default_Mover()
|
||
|
{
|
||
|
string[] ens = this.GetRequestVal("MyPKs").Split(',');
|
||
|
for (int i = 0; i < ens.Length; i++)
|
||
|
{
|
||
|
var enNo = ens[i];
|
||
|
string sql = "UPDATE GPM_WindowTemplate SET Idx=" + i + " WHERE No='" + enNo + "' ";
|
||
|
DBAccess.RunSQL(sql);
|
||
|
// BP.CCFast.Portal.Window en = new BP.CCFast.Portal.Window();
|
||
|
}
|
||
|
return "移动成功..";
|
||
|
}
|
||
|
public string Tabs_Default_Mover()
|
||
|
{
|
||
|
string[] ens = this.GetRequestVal("MyPKs").Split(',');
|
||
|
for (int i = 0; i < ens.Length; i++)
|
||
|
{
|
||
|
var enNo = ens[i];
|
||
|
string sql = "UPDATE GPM_MenuDtl SET Idx=" + i + " WHERE No='" + enNo + "' ";
|
||
|
DBAccess.RunSQL(sql);
|
||
|
// BP.CCFast.Portal.Window en = new BP.CCFast.Portal.Window();
|
||
|
}
|
||
|
return "移动成功..";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|