예제 #1
0
        //根据lsbh查询是不是审核主单
        public bool Getshsh(string lsbhzd)
        {
            bool sh_sh = false;

            BLL.Xxfmx_lkzd   B_Xxfmx_lkzd = new BLL.Xxfmx_lkzd();
            Model.Xxfmx_lkzd M_Xxfmx_lkzd = new Model.Xxfmx_lkzd();
            DataSet          ds           = B_Xxfmx_lkzd.GetList("lsbh='" + lsbhzd + "'");

            if (ds.Tables[0].Rows.Count > 0)
            {
                sh_sh = Convert.ToBoolean(ds.Tables[0].Rows[0]["sh_sh"].ToString());
            }


            return(sh_sh);
        }