/// <summary>
        /// 배너 비콘 조회
        /// </summary>
        /// <param name="Param"></param>
        /// <returns></returns>
        public List <T_AD_BEACON> GetAdBeaconList(T_AD_BEACON_COND Param)
        {
            //Param.DEVICE_NUBMER = Param.DEVICE_NUBMER != null ? Param.DEVICE_NUBMER : "'dsfd','sdf'";
            List <T_AD_BEACON> list = new List <T_AD_BEACON>();
            string             sql  = Global.DBAgent.LoadSQL(sqlBasePath + "Beacon\\T_AD_BEACON.xml", "GetAdBeaconList"
                                                             , Param.PAGE.ToString("1")
                                                             , Param.PAGE_COUNT.ToString("10")
                                                             , Param.SORT.ToString("A.BEACON_CODE")
                                                             , Param.IDX.ToString("")
                                                             , Param.AD_CODE.ToString("")
                                                             , Param.DEVICE_NUBMER.ToString("")
                                                             , (Param.DEVICE_NUMBERS == null ? string.Empty :  Param.DEVICE_NUMBERS)
                                                             , Param.BEACON_CODE.ToString("")
                                                             , Param.BEACON_CODES.ToString("")
                                                             , Param.BEACON_NAME.ToString("")
                                                             , Param.TITLE.ToString("")
                                                             , Param.SEARCH_DATE.ToString("")
                                                             , Param.HIDE == null ? "" : (Param.HIDE == true ? "1" : "0")
                                                             );

            return(db.ExecuteQuery <T_AD_BEACON>(sql).ToList());
        }
Exemplo n.º 2
0
 public List <T_AD_BEACON> GetAdBeconList(T_AD_BEACON_COND Cond)
 {
     return(new BeaconService().GetAdBeaconList(Cond));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 로컬사이니지 배너 가져오기
 /// </summary>
 /// <param name="Cond"></param>
 /// <returns></returns>
 public JsonResult GetAdBeaconList(T_AD_BEACON_COND Cond)
 {
     return(new JsonResult {
         Data = new BeaconService().GetAdBeaconList(Cond)
     });
 }
Exemplo n.º 4
0
 public PartialViewResult pv_AdBeaconCard(T_AD_BEACON_COND Cond)
 {
     ViewBag.list = new BeaconService().GetAdBeaconList(Cond);
     return(PartialView2());
 }