Backup/Web/HR/KaoQinSetting.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class HR_KaoQinSetting : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
ZWL.BLL.ERPKaoQinSetting MyModel = new ZWL.BLL.ERPKaoQinSetting();
MyModel.GetModel(int.Parse(ZWL.DBUtility.DbHelperSQL.GetSHSLInt("select top 1 [ID] FROM ERPKaoQinSetting")));
string GuiDingTime1 = MyModel.GuiDingTime1;
this.DropDownList1.SelectedValue = GuiDingTime1.Split(':')[0];
this.DropDownList2.SelectedValue = GuiDingTime1.Split(':')[1];
string GuiDingTime2 = MyModel.GuiDingTime2;
this.DropDownList3.SelectedValue = GuiDingTime2.Split(':')[0];
this.DropDownList4.SelectedValue = GuiDingTime2.Split(':')[1];
string GuiDingTime3 = MyModel.GuiDingTime3;
this.DropDownList5.SelectedValue = GuiDingTime3.Split(':')[0];
this.DropDownList6.SelectedValue = GuiDingTime3.Split(':')[1];
string GuiDingTime4 = MyModel.GuiDingTime4;
this.DropDownList7.SelectedValue = GuiDingTime4.Split(':')[0];
this.DropDownList8.SelectedValue = GuiDingTime4.Split(':')[1];
string GuiDingTime5 = MyModel.GuiDingTime5;
this.DropDownList9.SelectedValue = GuiDingTime5.Split(':')[0];
this.DropDownList10.SelectedValue = GuiDingTime5.Split(':')[1];
string GuiDingTime6 = MyModel.GuiDingTime6;
this.DropDownList11.SelectedValue = GuiDingTime6.Split(':')[0];
this.DropDownList12.SelectedValue = GuiDingTime6.Split(':')[1];
//设定按钮权限
ImageButton1.Visible = ZWL.Common.PublicMethod.StrIFIn("|040m|", ZWL.Common.PublicMethod.GetSessionValue("QuanXian"));
}
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPKaoQinSetting Model = new ZWL.BLL.ERPKaoQinSetting();
Model.ID = int.Parse(ZWL.DBUtility.DbHelperSQL.GetSHSLInt("select top 1 [ID] FROM ERPKaoQinSetting"));
Model.GuiDingTime1 = this.DropDownList1.SelectedItem.Text + ":" + this.DropDownList2.SelectedItem.Text + ":00";
Model.GuiDingTime2 = this.DropDownList3.SelectedItem.Text + ":" + this.DropDownList4.SelectedItem.Text + ":00";
Model.GuiDingTime3 = this.DropDownList5.SelectedItem.Text + ":" + this.DropDownList6.SelectedItem.Text + ":00";
Model.GuiDingTime4 = this.DropDownList7.SelectedItem.Text + ":" + this.DropDownList8.SelectedItem.Text + ":00";
Model.GuiDingTime5 = this.DropDownList9.SelectedItem.Text + ":" + this.DropDownList10.SelectedItem.Text + ":00";
Model.GuiDingTime6 = this.DropDownList11.SelectedItem.Text + ":" + this.DropDownList12.SelectedItem.Text + ":00";
Model.Update();
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
后面还有 6 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。