コード例 #1
0
    private string updateDepartPostData()
    {
        string res = "";
        Dictionary <string, string> dict = new Dictionary <string, string>();

        dict.Add("wechatUserId", Request.Form["wechatUserId"]);
        string departmentId = Request.Form["department"];

        if (StringTools.IsNumeric(departmentId))
        {
            dict.Add("departmentId", departmentId);
        }
        string postId = Request.Form["postName"];

        if (StringTools.IsNumeric(postId))
        {
            dict.Add("postId", postId);
        }
        //res = OrganizationInfoManage.UpdateInfo(dict, Request.Form["Id"]);
        res = UserInfoManage.UpdateDepartPost(dict, Request.Form["Id"]);
        return(res);
    }