DotNet.WebApplication/Modules/OA/Task/TaskBatchReported.aspx.cs

(开头部分) 18KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//-----------------------------------------------------------------
// All Rights Reserved , Copyright (C) 2013 , Hairihan TECH, Ltd .
//-----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using DotNet.Business;

/// <remarks>
/// TaskBatchReported
/// 工作上报
///
///     2012.05.17 版本:1.0  JiRiGaLa      创建代码。
///
/// <author>
///		<name>JiRiGaLa</name>
///		<date>2012.05.17</date>
/// </author>
/// </remarks>
public partial class TaskBatchReported : BasePage
{
    private int SelectedYear
    {
        get
        {
            if (HttpContext.Current.Session["ReportedYear"] == null)
            {
                int year = DateTime.Now.Year;
                int month = DateTime.Now.Month;
                int week = 0;
                TaskWeekManager taskWeekManager = new TaskWeekManager(this.WorkFlowDbHelper, this.UserInfo);
                taskWeekManager.GetCurrentWorkWeek(out year, out month, out week);
                HttpContext.Current.Session["ReportedYear"] = year;
                HttpContext.Current.Session["ReportedMonth"] = month;
                HttpContext.Current.Session["ReportedWeek"] = week;
            }
            return (int)HttpContext.Current.Session["ReportedYear"];
        }
        set
        {
            HttpContext.Current.Session["ReportedYear"] = value;
        }
    }

    private int SelectedMonth
    {
        get
        {
            if (HttpContext.Current.Session["ReportedMonth"] == null)
            {
                return DateTime.Now.Month;
            }
            return (int)HttpContext.Current.Session["ReportedMonth"];
        }
        set
后面还有 413 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。