Beispiel #1
0
        internal IList<GoodsListProxyVO> GetGoodsList(int page,int rowCount,GoodsListProxyVO param)
        {
            try
            {
                return this.dataModel.GetGoodList(page, rowCount, param.GoodsListVO.good_name, param.GoodsListVO.good_subname, param.GoodsListVO.good_nickname, param.GoodsListVO.good_maker);
            }
            catch (Exception ex)
            {

                throw;
            }
        }
Beispiel #2
0
        public SelectGoodList(int page,int rowCount, GoodsListProxyVO param)
            : base("상품정보 검색",Hitpan5ClientLibrary.SQLDataServiceModel)
        {
            this.page = page;
            this.rowCount = rowCount;
            this.dbModel = Hitpan5ClientLibrary.SQLDataServiceModel;
            this.param = param;

            UserAuthProxyVO ua = new UserAuthProxyVO();   //실행에 필요한 권한
            ua["상품정보"] = 사용자권한.조회만가능;
            ua["표준관리"] = 사용자권한.조회만가능;
            base.RequiredAuth = ua;

            base.docController = new libHitpan5.Controller.Common.DocumentController.GoodListDocument();//문서작성용 컨트롤러
        }
Beispiel #3
0
 internal IList<GoodsListProxyVO> GetGoodList(
     int page,
     int rowCount,
     string goodName,
     string goodSubName,
     string goodNickName,
     string goodMaker
     )
 {
     IList<GoodsListProxyVO> GoodsListProxy = new List<GoodsListProxyVO>();
     IList<GoodsListVO> GoodsList =
         sqlProxy.GetGoodsList
         (
         new EncryptionService().GetEncryptedKey(this.EncryptionSeed,sqlProxy.GetTime()),
         this.ServiceURL,
         page,
         rowCount,
         goodName,
         goodSubName,
         goodNickName,
         goodMaker
         );
     long TotalRowCount =
     this.sqlProxy.GetGoodsCount
         (
         new EncryptionService().GetEncryptedKey(this.EncryptionSeed,sqlProxy.GetTime()),
         this.ServiceURL,
         goodName,
         goodSubName,
         goodNickName,
         goodMaker
         );
     foreach (GoodsListVO vo in GoodsList)
     {
         GoodsListProxyVO ProxyVO = new GoodsListProxyVO();
         ProxyVO.GoodsListVO = vo;
         ProxyVO.TotalRowCount = TotalRowCount;
         GoodsListProxy.Add(ProxyVO);
     }
     return GoodsListProxy;
 }