private string GetZDTBybdcdyh(string bdcdyh, string ywh)
        {
            ZZDZ_DAL dal = new ZZDZ_DAL();

            if (bdcdyh.Contains("等"))
            {
                bdcdyh = bdcdyh.Substring(0, bdcdyh.IndexOf("等"));
            }
            string fileid = dal.GetFileID(bdcdyh, "宗地图");
            //fileid="File-160511101022-CCJO0QOR";
            //string ftppath="/2016/05/11/Bin-160511101022-UX1AH5HK.PDF";
            string ftppath = dal.GetFtpPath(fileid, "'宗地图','宗地示意图','宗地草图'");

            if (!string.IsNullOrEmpty(ftppath))
            {
                //string filePath = GetFileFromFTP(ftppath);
                return(GetFileFromFTP(ftppath));
            }
            return("");
        }
        private string GetFCFHTBybdcdyh(string bdcdyh, string ywh)
        {
            ZZDZ_DAL dal    = new ZZDZ_DAL();
            string   fileid = "";

            DataTable dt = GetALLBDCDYH(ywh);

            foreach (DataRow row in dt.Rows)
            {
                fileid = dal.GetFileID(row[0].ToString(), "分层分户草图");
                if (!string.IsNullOrEmpty(fileid))
                {
                    break;
                }
            }


            string ftppath = dal.GetFtpPath(fileid, "'分层分户草图'");

            //string filePath = GetFileFromFTP(ftppath);
            return(GetFileFromFTP(ftppath));
        }