示例#1
0
        public List <B2b_company_pos> GetPosByComId(int comid, out int secondtotalcount)
        {
            using (var sql = new SqlHelper())
            {
                var internalData = new InternalB2bCompanyPos(sql);
                List <B2b_company_pos> result = internalData.GetPosByComId(comid, out secondtotalcount);

                return(result);
            }
        }
示例#2
0
        public B2b_company_pos GetPosByPosId(string pos_id)
        {
            using (var sql = new SqlHelper())
            {
                try
                {
                    var             internalData = new InternalB2bCompanyPos(sql);
                    B2b_company_pos result       = internalData.GetPosByPosId(pos_id);

                    return(result);
                }
                catch
                {
                    throw;
                }
            }
        }