Beispiel #1
0
    private string saveDepartPostData()
    {
        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))
        {
            return("请选择部门!");
        }
        dict.Add("departmentId", departmentId);
        string postId = Request.Form["postName"];

        if (!StringTools.IsNumeric(postId))
        {
            return("请选择岗位!");
        }
        dict.Add("postId", postId);
        //res = OrganizationInfoManage.InsertInfo(dict);
        res = UserInfoManage.InsertDepartPost(dict);
        return(res);
    }