public IHttpActionResult SaveProof(ProofObj obj)
        {
            User u = SessionManage.CurrentUser;

            obj.FinshDate = obj.FinshDate.AddHours(8);
            if (obj.ProofOrderId == "" || obj.ProofStyleId == "")
            {
                return(BadRequest("申请单号和样品单号不能为空!"));
            }
            if (u != null)
            {
                string            webPath = Config.GetSampleConfig().ProofFilePath;
                ProofOrderAdapter poa     = new ProofOrderAdapter(u);

                obj.FileListItems.ForEach(p =>
                {
                    string path1 = p.Url;
                    string path2 = webPath + @"gy\" + p.FullName;
                    DirFileHelper.MoveFile(path1, path2);
                    p.Url = path2;
                });
                poa.CreateProofOrder(obj);
                poa.SaveProofOrder();
            }

            return(Ok());
        }