Beispiel #1
0
    private string Import()
    {
        string res  = "F";
        string json = Request.Form["json"];
        string type = Request.Form["type"];
        Dictionary <string, string> dict = JsonHelper.DeserializeJsonToObject <Dictionary <string, string> >(json);

        if (!dict["状态"].Contains("已导入"))
        {
            dict = LeaveStockInfoManage.ImportInfos(dict, type);
        }
        res = JsonHelper.SerializeObject(dict);
        return(res);
    }