예제 #1
0
        public int DelLineGroupDate(int lineid, string daydate)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2b_com_LineGroupDate(helper).DelLineGroupDate(lineid, daydate);

                return(list);
            }
        }
예제 #2
0
        /**得到一段时间内房型的最低价格**/
        public string GetMinPrice(int fangxingid, string startdata = "", string enddata = "")
        {
            using (var helper = new SqlHelper())
            {
                string m = new InternalB2b_com_LineGroupDate(helper).GetMinPrice(fangxingid, startdata, enddata);

                return(m);
            }
        }
예제 #3
0
        public List <B2b_com_LineGroupDate> GetLineGroupDate(int proid, DateTime startTime, DateTime endTime)
        {
            using (var helper = new SqlHelper())
            {
                List <B2b_com_LineGroupDate> r = new InternalB2b_com_LineGroupDate(helper).GetLineGroupDate(proid, startTime, endTime);

                return(r);
            }
        }
예제 #4
0
        public int EditLineGroupDate(B2b_com_LineGroupDate model)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2b_com_LineGroupDate(helper).EditLineGroupDate(model);

                return(list);
            }
        }
예제 #5
0
        public List <B2b_com_LineGroupDate> GetLineGroupDateByLineid(int lineid, string isvalid = "0,1", int servertype = 0)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2b_com_LineGroupDate(helper).GetLineGroupDateByLineid(lineid, isvalid, servertype);

                return(list);
            }
        }
예제 #6
0
        public decimal GetMinValidePrice(int proid)
        {
            using (var helper = new SqlHelper())
            {
                var r = new InternalB2b_com_LineGroupDate(helper).GetMinValidePrice(proid);

                return(r);
            }
        }
예제 #7
0
        public int UpGroupdateprice(int proid, decimal price)
        {
            using (var helper = new SqlHelper())
            {
                var r = new InternalB2b_com_LineGroupDate(helper).UpGroupdateprice(proid, price);

                return(r);
            }
        }
예제 #8
0
        public B2b_com_LineGroupDate GetLineDayGroupDate(DateTime daydate, int lineid)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2b_com_LineGroupDate(helper).GetLineDayGroupDate(daydate, lineid);

                return(list);
            }
        }
예제 #9
0
        /*得到产品一段时间内的最小空位数量*/
        public int GetMinEmptyNum(int proid, DateTime start_date, DateTime end_date)
        {
            using (var helper = new SqlHelper())
            {
                int m = new InternalB2b_com_LineGroupDate(helper).GetMinEmptyNum(proid, start_date, end_date);

                return(m);
            }
        }
예제 #10
0
        /// <summary>
        /// 得到产品产品的最小团期
        /// </summary>
        /// <param name="proid"></param>
        /// <returns></returns>
        public B2b_com_LineGroupDate GetMinValidByProid(int proid, int comid)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalB2b_com_LineGroupDate(helper).GetMinValidByProid(proid, comid);

                return(list);
            }
        }
예제 #11
0
        /*处理大巴时,清空控位,防止再提交*/
        public int CleanEmptyNum(int proid, DateTime daydate, int userid = 0, int comid = 0)
        {
            using (var helper = new SqlHelper())
            {
                int m = new InternalB2b_com_LineGroupDate(helper).CleanEmptyNum(proid, daydate, userid, comid);

                return(m);
            }
        }
예제 #12
0
        /*得到产品当天的空位数量*/
        public int GetEmptyNum(int proid, DateTime daydate)
        {
            using (var helper = new SqlHelper())
            {
                int m = new InternalB2b_com_LineGroupDate(helper).GetEmptyNum(proid, daydate);

                return(m);
            }
        }
예제 #13
0
        public int ReduceEmptyNum(int proid, int booknum, DateTime start_date, DateTime enddate)
        {
            using (var helper = new SqlHelper())
            {
                int m = new InternalB2b_com_LineGroupDate(helper).ReduceEmptyNum(proid, booknum, start_date, enddate);

                return(m);
            }
        }
예제 #14
0
        /**判断一段时间内房型是否可以预订**/
        public string IsCanBook(int fangxingid, string startdate = "", string enddate = "")
        {
            using (var helper = new SqlHelper())
            {
                string m = new InternalB2b_com_LineGroupDate(helper).IsCanBook(fangxingid, startdate, enddate);

                return(m);
            }
        }
예제 #15
0
        public int Rollbackemptynum(int proid, DateTime dateTime, int unum)
        {
            using (var helper = new SqlHelper())
            {
                var r = new InternalB2b_com_LineGroupDate(helper).Rollbackemptynum(proid, dateTime, unum);

                return(r);
            }
        }
예제 #16
0
        public string GetNowdayPrice(int fangxingid, string startdate)
        {
            using (var helper = new SqlHelper())
            {
                string m = new InternalB2b_com_LineGroupDate(helper).GetNowdayPrice(fangxingid, startdate);

                return(m);
            }
        }
예제 #17
0
        /**得到房态信息**/
        public decimal Gethotelallprice(int proid, DateTime start_date, DateTime enddate, int Agentlevel = 0)
        {
            using (var helper = new SqlHelper())
            {
                decimal m = new InternalB2b_com_LineGroupDate(helper).Gethotelallprice(proid, start_date, enddate, Agentlevel);

                return(m);
            }
        }
예제 #18
0
        public List <B2b_com_LineGroupDate> GetLineDayGroupDate(string checkindate, string checkoutdate, int proid)
        {
            using (var helper = new SqlHelper())
            {
                List <B2b_com_LineGroupDate> m = new InternalB2b_com_LineGroupDate(helper).GetLineDayGroupDate(checkindate, checkoutdate, proid);

                return(m);
            }
        }
예제 #19
0
        /**得到房态信息**/
        public List <B2b_com_LineGroupDate> GetHouseTypeDayList(int proid, string startdate, string enddate)
        {
            using (var helper = new SqlHelper())
            {
                var m = new InternalB2b_com_LineGroupDate(helper).GetHouseTypeDayList(proid, startdate, enddate);


                return(m);
            }
        }