//获取任务列表
    private void getTaskLst(string strUserID)
    {
        string strSortname  = Request.Params["sortname"];
        string strSortorder = Request.Params["sortorder"];
        //当前页面
        int intPageIndex = Convert.ToInt32(Request.Params["page"]);
        //每页记录数
        int intPageSize = Convert.ToInt32(Request.Params["pagesize"]);

        string strWF_SERVICE_NAME          = (Request.Params["SrhWF_SERVICE_NAME"] != null) ? Request.Params["SrhWF_SERVICE_NAME"] : "";
        string strSRC_USER                 = (Request.Params["SrhSRC_USER"] != null) ? Request.Params["SrhSRC_USER"] : "";
        string strINST_TASK_STARTTIME_from = (Request.Params["SrhINST_TASK_STARTTIME_from"] != null) ? Request.Params["SrhINST_TASK_STARTTIME_from"] : "";
        string strINST_TASK_STARTTIME_to   = (Request.Params["SrhINST_TASK_STARTTIME_to"] != null) ? Request.Params["SrhINST_TASK_STARTTIME_to"] : "";

        TWfInstTaskDetailLogic logic = new TWfInstTaskDetailLogic();
        string strState = "";

        if (Request["isQueding"] == null || Request["isQueding"].ToString().Trim().Length == 0 || Request["isQueding"].ToString().ToLower().Trim() == "undefined")
        {
            strState = "XX";
        }
        else
        {
            strState = TWfCommDict.StepState.StateConfirm;
        }
        DataTable dt            = logic.SelectByTableForUserTaskListEx(strUserID, strState, strWF_SERVICE_NAME, strSRC_USER, strINST_TASK_STARTTIME_from, strINST_TASK_STARTTIME_to, intPageIndex, intPageSize);
        int       intTotalCount = logic.GetSelectResultCountForUserTaskListEx(strUserID, strState, strWF_SERVICE_NAME, strSRC_USER, strINST_TASK_STARTTIME_from, strINST_TASK_STARTTIME_to);
        string    strJson       = CreateToJson(dt, intTotalCount);

        Response.Write(strJson);
        Response.End();
    }
    //获取任务列表
    private void getTaskLst(string strUserID, string strTaskState)
    {
        string strSortname  = Request.Params["sortname"];
        string strSortorder = Request.Params["sortorder"];
        //当前页面
        int intPageIndex = Convert.ToInt32(Request.Params["page"]);
        //每页记录数
        int intPageSize = Convert.ToInt32(Request.Params["pagesize"]);

        string strWF_SERVICE_NAME          = (Request.Params["SrhWF_SERVICE_NAME"] != null) ? Request.Params["SrhWF_SERVICE_NAME"] : "";
        string strSRC_USER                 = (Request.Params["SrhSRC_USER"] != null) ? Request.Params["SrhSRC_USER"] : "";
        string strINST_TASK_STARTTIME_from = (Request.Params["SrhINST_TASK_STARTTIME_from"] != null) ? Request.Params["SrhINST_TASK_STARTTIME_from"] : "";
        string strINST_TASK_STARTTIME_to   = (Request.Params["SrhINST_TASK_STARTTIME_to"] != null) ? Request.Params["SrhINST_TASK_STARTTIME_to"] : "";

        TWfInstTaskDetailLogic logic = new TWfInstTaskDetailLogic();
        DataTable dt            = logic.SelectByTableForUserTaskListEx(strUserID, strTaskState, strWF_SERVICE_NAME, strSRC_USER, strINST_TASK_STARTTIME_from, strINST_TASK_STARTTIME_to, intPageIndex, intPageSize);
        int       intTotalCount = logic.GetSelectResultCountForUserTaskListEx(strUserID, strTaskState, strWF_SERVICE_NAME, strSRC_USER, strINST_TASK_STARTTIME_from, strINST_TASK_STARTTIME_to);
        string    strJson       = CreateToJson(dt, intTotalCount);

        Response.Write(strJson);
        Response.End();
    }