岗位合并清理、班前会数据同步、
This commit is contained in:
@@ -42,6 +42,10 @@ namespace FineUIPro.Web.BaseInfo
|
||||
case wp.IsHsse when 1 then '是' else '否' end as IsHsseStr,const.ConstText as PostTypeName
|
||||
FROM dbo.Base_WorkPost AS wp
|
||||
LEFT JOIN Sys_Const AS const ON const.ConstValue = wp.PostType and const.GroupId = '" + ConstValue.Group_PostType + "' ";
|
||||
if (!string.IsNullOrEmpty(this.txtKey.Text.Trim()))
|
||||
{
|
||||
strSql += "where wp.WorkPostName like '%" + this.txtKey.Text.Trim() + "%' ";
|
||||
}
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
//strSql += " AND HazardList.ProjectId = @ProjectId";
|
||||
//listStr.Add(new SqlParameter("@ProjectId", Request.Params["projectId"]));
|
||||
@@ -256,6 +260,10 @@ namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
this.btnSave.Hidden = false;
|
||||
}
|
||||
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId)
|
||||
{//系统管理员、合肥诺必达、付伟、申银行
|
||||
this.btnDataBase.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -333,5 +341,20 @@ namespace FineUIPro.Web.BaseInfo
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region 数据清理
|
||||
|
||||
/// <summary>
|
||||
/// 数据清理
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnDataBase_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference($"WorkPostCleanupMerge.aspx", "岗位清理合并"));
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user