sCondition.AppendFormat(" And OrderState ='{0}'",inputs["OrderState"]);
if(inputs.IsExitsAndNotEmpty("iBuyID"))
sCondition.AppendFormat(" And iBuyID = '{0}'",inputs["iBuyID"]);
varlist=DBHelper.QueryByPager<TheaterOrder>($@" (SELECT A.*,C.Name as sMemberType,B.Name as ScreeningName,B.StartTime as ScreeningDate from TheaterOrder as A LEFT JOIN Screening as B on A.ScreeningID=B.ID
varlist=DBHelper.QueryByPager<TheaterOrder>($@" (SELECT A.*,C.Name as sMemberType,B.Image as ScreeningPic,B.Name as ScreeningName,B.StartTime as ScreeningDate from TheaterOrder as A LEFT JOIN Screening as B on A.ScreeningID=B.ID